Index: ui/gl/gl_surface_egl.h |
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h |
index 25085f4e21ce754dc54e1cc57e1267eec602480e..9eb3d4168481591dcdcd6f51cbe5a2478b0e7ee5 100644 |
--- a/ui/gl/gl_surface_egl.h |
+++ b/ui/gl/gl_surface_egl.h |
@@ -84,7 +84,7 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL { |
explicit NativeViewGLSurfaceEGL(EGLNativeWindowType window); |
// Implement GLSurface. |
- bool Initialize() override; |
+ using GLSurfaceEGL::Initialize; |
bool Initialize(GLSurface::Format format) override; |
void Destroy() override; |
bool Resize(const gfx::Size& size, |
@@ -157,6 +157,7 @@ class GL_EXPORT PbufferGLSurfaceEGL : public GLSurfaceEGL { |
explicit PbufferGLSurfaceEGL(const gfx::Size& size); |
// Implement GLSurface. |
+ bool Initialize() override; |
bool Initialize(GLSurface::Format format) override; |
void Destroy() override; |
bool IsOffscreen() override; |