| Index: chrome/browser/printing/print_preview_tab_controller.cc
|
| diff --git a/chrome/browser/printing/print_preview_tab_controller.cc b/chrome/browser/printing/print_preview_tab_controller.cc
|
| index e35f1bfa64354b34cea261e652bdb7c2a6178cf5..6dc23f6c0876fa33b864690a566524387edbfca7 100644
|
| --- a/chrome/browser/printing/print_preview_tab_controller.cc
|
| +++ b/chrome/browser/printing/print_preview_tab_controller.cc
|
| @@ -414,7 +414,8 @@ TabContentsWrapper* PrintPreviewTabController::CreatePrintPreviewTab(
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kChromeFrame)) {
|
| Profile* profile =
|
| Profile::FromBrowserContext(web_contents->GetBrowserContext());
|
| - current_browser = Browser::CreateForType(Browser::TYPE_POPUP, profile);
|
| + current_browser = Browser::CreateWithParams(
|
| + Browser::CreateParams(Browser::TYPE_POPUP, profile));
|
| if (!current_browser) {
|
| NOTREACHED() << "Failed to create popup browser window";
|
| return NULL;
|
|
|