| Index: content/browser/frame_host/render_frame_host_impl.cc
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
|
| index 4759476e4d89231d134de32523cb463050ccf66a..6e037961547c703a3357c43dd2863ff47ac1ad17 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -1684,7 +1684,7 @@ void RenderFrameHostImpl::OnToggleFullscreen(bool enter_fullscreen) {
|
| if (enter_fullscreen)
|
| delegate_->EnterFullscreenMode(GetLastCommittedURL().GetOrigin());
|
| else
|
| - delegate_->ExitFullscreenMode();
|
| + delegate_->ExitFullscreenMode(/* will_cause_resize */ true);
|
|
|
| // The previous call might change the fullscreen state. We need to make sure
|
| // the renderer is aware of that, which is done via the resize message.
|
|
|