summaryrefslogtreecommitdiffstats
path: root/content/shell/shell.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/shell.cc')
-rw-r--r--content/shell/shell.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/content/shell/shell.cc b/content/shell/shell.cc
index 3e3801b..65eb1ea 100644
--- a/content/shell/shell.cc
+++ b/content/shell/shell.cc
@@ -50,9 +50,7 @@ Shell* Shell::CreateNewWindow(content::BrowserContext* browser_context,
int routing_id,
TabContents* base_tab_contents) {
Shell* shell = new Shell();
- shell->PlatformCreateWindow();
-
- shell->PlatformSizeTo(kTestWindowWidth, kTestWindowHeight);
+ shell->PlatformCreateWindow(kTestWindowWidth, kTestWindowHeight);
shell->tab_contents_.reset(new TabContents(
browser_context,