| 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 df1962ab320d770de1b74f63d194e66a63cc5fc0..ee95681349227e15eb1b535ffe2e75ebb6847c93 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -933,6 +933,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(
|
|
|