| Index: content/browser/renderer_host/render_widget_host_view_aura.cc
|
| ===================================================================
|
| --- content/browser/renderer_host/render_widget_host_view_aura.cc (revision 165064)
|
| +++ content/browser/renderer_host/render_widget_host_view_aura.cc (working copy)
|
| @@ -1203,8 +1203,11 @@
|
|
|
| void RenderWidgetHostViewAura::OnBoundsChanged(const gfx::Rect& old_bounds,
|
| const gfx::Rect& new_bounds) {
|
| - // We don't care about this one, we are always sized via SetSize() or
|
| - // SetBounds().
|
| + // We care about this only in fullscreen mode, where there is no
|
| + // WebContentsViewAura. We are sized via SetSize() or SetBounds() by
|
| + // WebContentsViewAura in other cases.
|
| + if (is_fullscreen_)
|
| + SetSize(new_bounds.size());
|
| }
|
|
|
| void RenderWidgetHostViewAura::OnFocus(aura::Window* old_focused_window) {
|
|
|