| Index: ui/gl/gl_surface_egl.h
|
| diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h
|
| index 174715d3fa25c0d0d5ac15901fd5ccf807901767..6d72e9a47d3abb2cd81ee2dcd37eafc132724d3a 100644
|
| --- a/ui/gl/gl_surface_egl.h
|
| +++ b/ui/gl/gl_surface_egl.h
|
| @@ -72,8 +72,8 @@ class GL_EXPORT GLSurfaceEGL : public GLSurface {
|
| protected:
|
| ~GLSurfaceEGL() override;
|
|
|
| - EGLConfig config_;
|
| - GLSurface::Format format_;
|
| + EGLConfig config_ = nullptr;
|
| + GLSurface::Format format_ = GLSurface::SURFACE_DEFAULT;
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(GLSurfaceEGL);
|
| @@ -188,6 +188,7 @@ class GL_EXPORT SurfacelessEGL : public GLSurfaceEGL {
|
| explicit SurfacelessEGL(const gfx::Size& size);
|
|
|
| // Implement GLSurface.
|
| + bool Initialize() override;
|
| bool Initialize(GLSurface::Format format) override;
|
| void Destroy() override;
|
| bool IsOffscreen() override;
|
|
|