Index: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
index 2019201693283002ee9bea0268cc1582b6e32a14..831c4f28461cdf668b485dc080c6cd4ad70d983f 100644 |
--- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
+++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
@@ -943,6 +943,11 @@ void WebGraphicsContext3DInProcessCommandBufferImpl::postSubBufferCHROMIUM( |
void WebGraphicsContext3DInProcessCommandBufferImpl::reshape( |
int width, int height) { |
+ reshapeWithScaleFactor(width, height, 1.0f); |
+} |
+ |
+void WebGraphicsContext3DInProcessCommandBufferImpl::reshapeWithScaleFactor( |
+ int width, int height, float scale_factor) { |
cached_width_ = width; |
cached_height_ = height; |