Index: ui/gl/gl_surface.h |
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h |
index 5d98253910d4993e51517e0d68a344f0d016bff8..223e9775aa5be5240f09379945d553a2e42131d0 100644 |
--- a/ui/gl/gl_surface.h |
+++ b/ui/gl/gl_surface.h |
@@ -40,7 +40,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(); |
@@ -192,7 +192,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; |