Skip to content

Commit a8ae455

Browse files
committed
FIXUP: Fix v8 context snapshot generator compilation
Remove WGL overrides. Change-Id: I12add343a5e04efce06210e59c0295244d943444 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/595118 Reviewed-by: Allan Sandfeld Jensen <[email protected]>
1 parent c705e70 commit a8ae455

File tree

1 file changed

+1
-37
lines changed

1 file changed

+1
-37
lines changed

chromium/tools/v8_context_snapshot/qt_overrides.cc

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,8 @@
66
#include "gpu/vulkan/buildflags.h"
77
#include "ui/base/ozone_buildflags.h"
88

9-
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
10-
#include "ui/gl/gl_bindings.h"
11-
#include "ui/gl/gl_context.h"
12-
#include "ui/gl/gl_display.h"
13-
#include "ui/gl/gl_surface.h"
14-
#endif
15-
169
#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
10+
#include "ui/gl/gl_export.h"
1711
#include "ui/gl/gl_surface_glx.h"
1812
#endif
1913

@@ -49,36 +43,6 @@ bool GLSurfaceGLX::IsCreateContextSupported() {
4943
} // namespace gl
5044
#endif // if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
5145

52-
#if BUILDFLAG(IS_WIN)
53-
namespace gl {
54-
class GLShareGroup;
55-
class GLContextAttribs;
56-
namespace init {
57-
58-
scoped_refptr<GLContext> CreateGLContext(GLShareGroup* share_group,
59-
GLSurface* compatible_surface,
60-
const GLContextAttribs& attribs) {
61-
return nullptr;
62-
}
63-
GLDisplay* InitializeGLOneOffPlatform(GpuPreference preference) {
64-
return nullptr;
65-
}
66-
bool usingSoftwareDynamicGL() {
67-
return false;
68-
}
69-
scoped_refptr<GLSurface> CreateOffscreenGLSurface(GLDisplay* display,
70-
const gfx::Size& size) {
71-
return nullptr;
72-
}
73-
scoped_refptr<GLSurface> CreateViewGLSurface(GLDisplay* display,
74-
gfx::AcceleratedWidget window) {
75-
return nullptr;
76-
}
77-
78-
} // namespace init
79-
} // namespace gl
80-
#endif // BUILDFLAG(IS_WIN)
81-
8246
namespace ui {
8347
class OzonePlatform;
8448
OzonePlatform* CreateOzonePlatformQt() {

0 commit comments

Comments
 (0)