| Index: ui/gl/gl_surface_egl.h
|
| diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h
|
| index 9eb3d4168481591dcdcd6f51cbe5a2478b0e7ee5..8bcf6a9c64dd6f117a76b1da754abee1c449f897 100644
|
| --- a/ui/gl/gl_surface_egl.h
|
| +++ b/ui/gl/gl_surface_egl.h
|
| @@ -71,8 +71,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);
|
| @@ -187,6 +187,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;
|
|
|