Index: chrome/browser/ui/apps/chrome_app_delegate.cc |
diff --git a/chrome/browser/ui/apps/chrome_app_delegate.cc b/chrome/browser/ui/apps/chrome_app_delegate.cc |
index 645da64b25dd2e08d1921116326938abe61e3952..6f810993644d47a38ebd48a40d4d64a150b0150e 100644 |
--- a/chrome/browser/ui/apps/chrome_app_delegate.cc |
+++ b/chrome/browser/ui/apps/chrome_app_delegate.cc |
@@ -216,7 +216,7 @@ void ChromeAppDelegate::RenderViewCreated( |
void ChromeAppDelegate::ResizeWebContents(content::WebContents* web_contents, |
const gfx::Size& size) { |
- ::ResizeWebContents(web_contents, size); |
+ ::ResizeWebContents(web_contents, gfx::Rect(size)); |
} |
content::WebContents* ChromeAppDelegate::OpenURLFromTab( |