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..24c8cfc06c9c0dc803da1d1bdcd818a139d63e41 100644 |
--- a/ui/gl/gl_surface_egl.h |
+++ b/ui/gl/gl_surface_egl.h |
@@ -72,7 +72,6 @@ class GL_EXPORT GLSurfaceEGL : public GLSurface { |
~GLSurfaceEGL() override; |
EGLConfig config_; |
- GLSurface::Format format_; |
private: |
DISALLOW_COPY_AND_ASSIGN(GLSurfaceEGL); |
@@ -84,7 +83,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 +156,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; |