Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
index b5ee5c45a585d047be9afca83935a8234e938b2f..33f6ea1e1148ab637a8ed4aff27769feaa6b7f82 100644 |
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
@@ -567,6 +567,11 @@ void WebGraphicsContext3DCommandBufferImpl::postSubBufferCHROMIUM( |
} |
void WebGraphicsContext3DCommandBufferImpl::reshape(int width, int height) { |
+ reshapeWithScaleFactor(width, height, 1.f); |
+} |
+ |
+void WebGraphicsContext3DCommandBufferImpl::reshapeWithScaleFactor( |
+ int width, int height, float scale_factor) { |
cached_width_ = width; |
cached_height_ = height; |