Index: ui/gl/gl_surface_glx.cc |
diff --git a/ui/gl/gl_surface_glx.cc b/ui/gl/gl_surface_glx.cc |
index b08a5d055632e3ca708baef7458cd1a6ea04eec0..17a481a4de3809988ce9025e80631242e7395fd4 100644 |
--- a/ui/gl/gl_surface_glx.cc |
+++ b/ui/gl/gl_surface_glx.cc |
@@ -615,13 +615,8 @@ void* NativeViewGLSurfaceGLX::GetHandle() { |
return reinterpret_cast<void*>(GetDrawableHandle()); |
} |
-std::string NativeViewGLSurfaceGLX::GetExtensions() { |
- std::string extensions = GLSurface::GetExtensions(); |
- if (gfx::g_driver_glx.ext.b_GLX_MESA_copy_sub_buffer) { |
- extensions += extensions.empty() ? "" : " "; |
- extensions += "GL_CHROMIUM_post_sub_buffer"; |
- } |
- return extensions; |
+bool NativeViewGLSurfaceGLX::SupportsPostSubBuffer() { |
+ return gfx::g_driver_glx.ext.b_GLX_MESA_copy_sub_buffer; |
} |
void* NativeViewGLSurfaceGLX::GetConfig() { |