summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc')
-rw-r--r--chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
index da74b3e..740fcc2 100644
--- a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
+++ b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc
@@ -229,6 +229,8 @@ void WebGraphicsContext3DCommandBufferImpl::reshape(int width, int height) {
if (web_view_) {
#if defined(OS_MACOSX)
ggl::ResizeOnscreenContext(context_, gfx::Size(width, height));
+#else
+ glResizeCHROMIUM(width, height);
#endif
} else {
ggl::ResizeOffscreenContext(context_, gfx::Size(width, height));