| Index: ui/gl/gl_surface_osmesa.cc
|
| diff --git a/ui/gl/gl_surface_osmesa.cc b/ui/gl/gl_surface_osmesa.cc
|
| index 00acc95b29c0760d4fcead57edf8fe6e6f5802ed..f488274696f67e3669136194febf757a020b887e 100644
|
| --- a/ui/gl/gl_surface_osmesa.cc
|
| +++ b/ui/gl/gl_surface_osmesa.cc
|
| @@ -30,14 +30,14 @@ GLSurfaceOSMesa::GLSurfaceOSMesa(OSMesaSurfaceFormat format,
|
| }
|
|
|
| bool GLSurfaceOSMesa::Initialize() {
|
| - return Resize(size_);
|
| + return Resize(size_, 1.f);
|
| }
|
|
|
| void GLSurfaceOSMesa::Destroy() {
|
| buffer_.reset();
|
| }
|
|
|
| -bool GLSurfaceOSMesa::Resize(const gfx::Size& new_size) {
|
| +bool GLSurfaceOSMesa::Resize(const gfx::Size& new_size, float scale_factor) {
|
| scoped_ptr<ui::ScopedMakeCurrent> scoped_make_current;
|
| GLContext* current_context = GLContext::GetCurrent();
|
| bool was_current =
|
|
|