| Index: ui/gfx/gl/gl_surface_egl.cc
|
| diff --git a/ui/gfx/gl/gl_surface_egl.cc b/ui/gfx/gl/gl_surface_egl.cc
|
| index 8301bc407997507c45d08a60d19a4d710b720b48..713f9e9b9c346051d05fcd646e501bdd69295308 100644
|
| --- a/ui/gfx/gl/gl_surface_egl.cc
|
| +++ b/ui/gfx/gl/gl_surface_egl.cc
|
| @@ -262,8 +262,13 @@ EGLSurface NativeViewGLSurfaceEGL::GetHandle() {
|
| return surface_;
|
| }
|
|
|
| -bool NativeViewGLSurfaceEGL::SupportsPostSubBuffer() {
|
| - return supports_post_sub_buffer_;
|
| +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::PostSubBuffer(
|
|
|