Index: chrome/browser/ui/browser_tabrestore.cc |
diff --git a/chrome/browser/ui/browser_tabrestore.cc b/chrome/browser/ui/browser_tabrestore.cc |
index 80e5ab1134eab9f084a3e4c917b1b75018ec3284..ca3a06d0ce87e1621a44fe63847d5c5fbf949281 100644 |
--- a/chrome/browser/ui/browser_tabrestore.cc |
+++ b/chrome/browser/ui/browser_tabrestore.cc |
@@ -128,7 +128,7 @@ content::WebContents* AddRestoredTab( |
// yet and the bounds may not be available on all platforms. |
if (size.IsEmpty()) |
size = browser->window()->GetRestoredBounds().size(); |
- ResizeWebContents(web_contents, size); |
+ ResizeWebContents(web_contents, gfx::Rect(size)); |
web_contents->WasHidden(); |
} |
SessionService* session_service = |