Index: chrome/browser/ui/exclusive_access/fullscreen_controller.cc |
diff --git a/chrome/browser/ui/exclusive_access/fullscreen_controller.cc b/chrome/browser/ui/exclusive_access/fullscreen_controller.cc |
index 8a87c3b08941df5897f64fd1e5ce5e5bfd5d9882..ab7c0bc4499d7ea896bd95594f8b9c3fe4ec4e43 100644 |
--- a/chrome/browser/ui/exclusive_access/fullscreen_controller.cc |
+++ b/chrome/browser/ui/exclusive_access/fullscreen_controller.cc |
@@ -232,7 +232,7 @@ void FullscreenController::OnTabDetachedFromView(WebContents* old_contents) { |
old_contents->GetFullscreenRenderWidgetHostView(); |
if (current_fs_view) |
current_fs_view->SetSize(old_contents->GetPreferredSize()); |
- ResizeWebContents(old_contents, old_contents->GetPreferredSize()); |
+ ResizeWebContents(old_contents, gfx::Rect(old_contents->GetPreferredSize())); |
} |
void FullscreenController::OnTabClosing(WebContents* web_contents) { |