summaryrefslogtreecommitdiffstats
path: root/webkit/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/gpu')
-rw-r--r--webkit/gpu/webgraphicscontext3d_in_process_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
index 548cf4d..16f4fb9 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
+++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -361,6 +361,7 @@ void WebGraphicsContext3DInProcessImpl::reshape(int width, int height) {
if (window_ == gfx::kNullPluginWindow)
must_restore_fbo = AllocateOffscreenFrameBuffer(width, height);
+ gl_surface_->Resize(gfx::Size(width, height));
ClearRenderTarget();
if (must_restore_fbo)