summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/extensions/application_launch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/extensions/application_launch.cc')
-rw-r--r--chrome/browser/ui/extensions/application_launch.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/extensions/application_launch.cc b/chrome/browser/ui/extensions/application_launch.cc
index e448d47..f9f2b91 100644
--- a/chrome/browser/ui/extensions/application_launch.cc
+++ b/chrome/browser/ui/extensions/application_launch.cc
@@ -125,7 +125,7 @@ WebContents* OpenApplicationWindow(
}
#endif
- Browser* browser = Browser::CreateWithParams(params);
+ Browser* browser = new Browser(params);
if (app_browser)
*app_browser = browser;
@@ -158,7 +158,7 @@ WebContents* OpenApplicationTab(Profile* profile,
WebContents* contents = NULL;
if (!browser) {
// No browser for this profile, need to open a new one.
- browser = Browser::Create(profile);
+ browser = new Browser(Browser::CreateParams(profile));
browser->window()->Show();
// There's no current tab in this browser window, so add a new one.
disposition = NEW_FOREGROUND_TAB;