| Index: content/browser/gpu/gpu_process_host_ui_shim.cc
|
| diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| index beee4f3e84e2d6532e7eebf2ace143dc711722bb..6aef106ada9457cf0b358e3e855171a5f7cc4bbb 100644
|
| --- a/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| +++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| @@ -252,7 +252,7 @@ void GpuProcessHostUIShim::OnResizeView(int32 surface_id,
|
|
|
| RenderWidgetHostViewPort* view =
|
| GetRenderWidgetHostViewFromSurfaceID(surface_id);
|
| - if (!view)
|
| + if (!view || !view->ResizeNeedsNewSurface())
|
| return;
|
|
|
| gfx::GLSurfaceHandle surface = view->GetCompositingSurface();
|
|
|