Index: ui/gl/gl_surface_egl.cc |
diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc |
index 081ffa546ee58e12e5a4c559e22b1043c24b4691..b8a28a1ee82e259bbc941d03f7b99c7edbb9266c 100644 |
--- a/ui/gl/gl_surface_egl.cc |
+++ b/ui/gl/gl_surface_egl.cc |
@@ -436,8 +436,8 @@ void GetEGLInitDisplays(bool supports_angle_d3d, |
} |
GLSurfaceEGL::GLSurfaceEGL() : |
- config_(nullptr), |
- format_(SURFACE_DEFAULT) {} |
+ GLSurface(), |
+ config_(nullptr) {} |
bool GLSurfaceEGL::InitializeOneOff() { |
static bool initialized = false; |
@@ -619,10 +619,6 @@ NativeViewGLSurfaceEGL::NativeViewGLSurfaceEGL(EGLNativeWindowType window) |
#endif |
} |
-bool NativeViewGLSurfaceEGL::Initialize() { |
- return Initialize(SURFACE_DEFAULT); |
-} |
- |
bool NativeViewGLSurfaceEGL::Initialize(GLSurface::Format format) { |
format_ = format; |
return Initialize(nullptr); |