summaryrefslogtreecommitdiff
path: root/chromium/ui/gl/init/gl_factory_ozone.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/gl/init/gl_factory_ozone.cc')
-rw-r--r--chromium/ui/gl/init/gl_factory_ozone.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/ui/gl/init/gl_factory_ozone.cc b/chromium/ui/gl/init/gl_factory_ozone.cc
index 8b35da419dd..4f0b30aaae0 100644
--- a/chromium/ui/gl/init/gl_factory_ozone.cc
+++ b/chromium/ui/gl/init/gl_factory_ozone.cc
@@ -30,6 +30,7 @@ bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info) {
return false;
}
+#if !defined(TOOLKIT_QT)
scoped_refptr<GLContext> CreateGLContext(GLShareGroup* share_group,
GLSurface* compatible_surface,
const GLContextAttribs& attribs) {
@@ -104,6 +105,7 @@ scoped_refptr<GLSurface> CreateOffscreenGLSurfaceWithFormat(
return nullptr;
}
+#endif
void SetDisabledExtensionsPlatform(const std::string& disabled_extensions) {
if (HasGLOzone()) {