Index: ui/gl/gl_surface_egl.cc |
diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc |
index a2beccdfc1dbbad16a0ae675463d2c26da6f43e0..568c74a34bb150dfb96a504369384cd1476e6604 100644 |
--- a/ui/gl/gl_surface_egl.cc |
+++ b/ui/gl/gl_surface_egl.cc |
@@ -559,13 +559,8 @@ EGLSurface NativeViewGLSurfaceEGL::GetHandle() { |
return surface_; |
} |
-std::string NativeViewGLSurfaceEGL::GetExtensions() { |
- std::string extensions = GLSurface::GetExtensions(); |
- if (supports_post_sub_buffer_) { |
- extensions += extensions.empty() ? "" : " "; |
- extensions += "GL_CHROMIUM_post_sub_buffer"; |
- } |
- return extensions; |
+bool NativeViewGLSurfaceEGL::SupportsPostSubBuffer() { |
+ return supports_post_sub_buffer_; |
} |
bool NativeViewGLSurfaceEGL::PostSubBuffer( |