| Index: ui/gl/gl_surface_wgl.h
|
| diff --git a/ui/gl/gl_surface_wgl.h b/ui/gl/gl_surface_wgl.h
|
| index c68f1a7371bf1bd42696335ed3915ce4dcf8c236..25990dff49871bafdcb98afddfba75406647cf13 100644
|
| --- a/ui/gl/gl_surface_wgl.h
|
| +++ b/ui/gl/gl_surface_wgl.h
|
| @@ -37,7 +37,7 @@ class GL_EXPORT NativeViewGLSurfaceWGL : public GLSurfaceWGL {
|
| explicit NativeViewGLSurfaceWGL(gfx::AcceleratedWidget window);
|
|
|
| // Implement GLSurface.
|
| - bool Initialize(GLSurface::Format format) override;
|
| + bool Initialize(GLSurfaceFormat format) override;
|
| void Destroy() override;
|
| bool Resize(const gfx::Size& size,
|
| float scale_factor,
|
| @@ -51,7 +51,7 @@ class GL_EXPORT NativeViewGLSurfaceWGL : public GLSurfaceWGL {
|
| private:
|
| ~NativeViewGLSurfaceWGL() override;
|
|
|
| - GLSurface::Format format_ = GLSurface::SURFACE_DEFAULT;
|
| + GLSurfaceFormat format_;
|
|
|
| gfx::AcceleratedWidget window_;
|
| gfx::AcceleratedWidget child_window_;
|
| @@ -67,7 +67,7 @@ class GL_EXPORT PbufferGLSurfaceWGL : public GLSurfaceWGL {
|
| explicit PbufferGLSurfaceWGL(const gfx::Size& size);
|
|
|
| // Implement GLSurface.
|
| - bool Initialize(GLSurface::Format format) override;
|
| + bool Initialize(GLSurfaceFormat format) override;
|
| void Destroy() override;
|
| bool IsOffscreen() override;
|
| gfx::SwapResult SwapBuffers() override;
|
|
|