Index: trunk/src/content/browser/renderer_host/render_view_host_impl.cc |
=================================================================== |
--- trunk/src/content/browser/renderer_host/render_view_host_impl.cc (revision 287745) |
+++ trunk/src/content/browser/renderer_host/render_view_host_impl.cc (working copy) |
@@ -1469,8 +1469,6 @@ |
void RenderViewHostImpl::DisableAutoResize(const gfx::Size& new_size) { |
SetShouldAutoResize(false); |
Send(new ViewMsg_DisableAutoResize(GetRoutingID(), new_size)); |
- if (!new_size.IsEmpty()) |
- GetView()->SetSize(new_size); |
} |
void RenderViewHostImpl::CopyImageAt(int x, int y) { |