| Index: ui/gl/gl_surface_x11.cc
|
| diff --git a/ui/gl/gl_surface_x11.cc b/ui/gl/gl_surface_x11.cc
|
| index 4e14a43b4d12f851b7b9497192d019d334d2839e..5e8429fecc90bffa1ae7b028c700fae87b54eca3 100644
|
| --- a/ui/gl/gl_surface_x11.cc
|
| +++ b/ui/gl/gl_surface_x11.cc
|
| @@ -30,7 +30,7 @@ class NativeViewGLSurfaceOSMesa : public GLSurfaceOSMesa {
|
| // Implement a subset of GLSurface.
|
| bool Initialize() override;
|
| void Destroy() override;
|
| - bool Resize(const gfx::Size& new_size) override;
|
| + bool Resize(const gfx::Size& new_size, float scale_factor) override;
|
| bool IsOffscreen() override;
|
| gfx::SwapResult SwapBuffers() override;
|
| bool SupportsPostSubBuffer() override;
|
| @@ -136,8 +136,9 @@ void NativeViewGLSurfaceOSMesa::Destroy() {
|
| XSync(xdisplay_, False);
|
| }
|
|
|
| -bool NativeViewGLSurfaceOSMesa::Resize(const gfx::Size& new_size) {
|
| - if (!GLSurfaceOSMesa::Resize(new_size))
|
| +bool NativeViewGLSurfaceOSMesa::Resize(const gfx::Size& new_size,
|
| + float scale_factor) {
|
| + if (!GLSurfaceOSMesa::Resize(new_size, scale_factor))
|
| return false;
|
|
|
| XWindowAttributes attributes;
|
|
|