diff options
Diffstat (limited to 'ui/gl/gl_surface.h')
-rw-r--r-- | ui/gl/gl_surface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h index b928c67..7fc65f7 100644 --- a/ui/gl/gl_surface.h +++ b/ui/gl/gl_surface.h @@ -43,7 +43,7 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { // Destroys the surface. virtual void Destroy() = 0; - virtual bool Resize(const gfx::Size& size); + virtual bool Resize(const gfx::Size& size, float scale_factor); // Recreate the surface without changing the size. virtual bool Recreate(); @@ -195,7 +195,7 @@ class GL_EXPORT GLSurfaceAdapter : public GLSurface { bool Initialize() override; void Destroy() override; - bool Resize(const gfx::Size& size) override; + bool Resize(const gfx::Size& size, float scale_factor) override; bool Recreate() override; bool DeferDraws() override; bool IsOffscreen() override; |