diff options
Diffstat (limited to 'chrome/browser/printing/print_preview_tab_controller.cc')
-rw-r--r-- | chrome/browser/printing/print_preview_tab_controller.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/printing/print_preview_tab_controller.cc b/chrome/browser/printing/print_preview_tab_controller.cc index e200210..04bf2e0 100644 --- a/chrome/browser/printing/print_preview_tab_controller.cc +++ b/chrome/browser/printing/print_preview_tab_controller.cc @@ -422,7 +422,7 @@ TabContents* PrintPreviewTabController::CreatePrintPreviewTab( Profile* profile = Profile::FromBrowserContext(web_contents->GetBrowserContext()); if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kChromeFrame)) { - Browser* current_browser = Browser::CreateWithParams( + Browser* current_browser = new Browser( Browser::CreateParams(Browser::TYPE_POPUP, profile)); if (!current_browser) { NOTREACHED() << "Failed to create popup browser window"; |