| Index: content/browser/renderer_host/render_view_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
|
| index 854c10c2fac3e86a50d944b7f29a8d768c3b19ef..e7f5f36de829173736c450b405e6cc245fb01a2f 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -937,6 +937,10 @@ void RenderViewHostImpl::DisableAutoResize(const gfx::Size& new_size) {
|
| Send(new ViewMsg_DisableAutoResize(GetRoutingID(), new_size));
|
| if (!new_size.IsEmpty())
|
| GetWidget()->GetView()->SetSize(new_size);
|
| + // This clears the cached value in the WebContents, so that OOPIFs will
|
| + // stop using it.
|
| + if (GetWidget()->delegate())
|
| + GetWidget()->delegate()->ResetAutoResizeSize();
|
| }
|
|
|
| void RenderViewHostImpl::ExecuteMediaPlayerActionAtLocation(
|
|
|