Index: ui/gl/gl_surface_win.cc |
diff --git a/ui/gl/gl_surface_win.cc b/ui/gl/gl_surface_win.cc |
index 6307f14029a81b64d8f471ad132861b12c606681..494c7b06a84ca1eb7ab929a90532761663606ebf 100644 |
--- a/ui/gl/gl_surface_win.cc |
+++ b/ui/gl/gl_surface_win.cc |
@@ -33,7 +33,7 @@ class NativeViewGLSurfaceOSMesa : public GLSurfaceOSMesa { |
virtual void Destroy() OVERRIDE; |
virtual bool IsOffscreen() OVERRIDE; |
virtual bool SwapBuffers() OVERRIDE; |
- virtual std::string GetExtensions() OVERRIDE; |
+ virtual bool SupportsPostSubBuffer() OVERRIDE; |
virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE; |
private: |
@@ -171,11 +171,8 @@ bool NativeViewGLSurfaceOSMesa::SwapBuffers() { |
return true; |
} |
-std::string NativeViewGLSurfaceOSMesa::GetExtensions() { |
- std::string extensions = gfx::GLSurfaceOSMesa::GetExtensions(); |
- extensions += extensions.empty() ? "" : " "; |
- extensions += "GL_CHROMIUM_post_sub_buffer"; |
- return extensions; |
+bool NativeViewGLSurfaceOSMesa::SupportsPostSubBuffer() { |
+ return true; |
} |
bool NativeViewGLSurfaceOSMesa::PostSubBuffer( |