| Index: ui/gl/gl_surface_wgl.h
|
| diff --git a/ui/gl/gl_surface_wgl.h b/ui/gl/gl_surface_wgl.h
|
| index dc323c1f8b7d31a4d54b10011ff27521908bdd0e..e8df55b96322216221eb5c4351aa6f35283dbfbc 100644
|
| --- a/ui/gl/gl_surface_wgl.h
|
| +++ b/ui/gl/gl_surface_wgl.h
|
| @@ -39,6 +39,10 @@ class NativeViewGLSurfaceWGL : public GLSurfaceWGL {
|
| // Implement GLSurface.
|
| bool Initialize(GLSurface::Format format) override;
|
| void Destroy() override;
|
| + bool Resize(const gfx::Size& size,
|
| + float scale_factor,
|
| + bool has_alpha) override;
|
| + bool Recreate() override;
|
| bool IsOffscreen() override;
|
| gfx::SwapResult SwapBuffers() override;
|
| gfx::Size GetSize() override;
|
| @@ -47,6 +51,8 @@ class NativeViewGLSurfaceWGL : public GLSurfaceWGL {
|
| private:
|
| ~NativeViewGLSurfaceWGL() override;
|
|
|
| + GLSurface::Format format_ = GLSurface::SURFACE_DEFAULT;
|
| +
|
| gfx::AcceleratedWidget window_;
|
| gfx::AcceleratedWidget child_window_;
|
| HDC device_context_;
|
|
|