| 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 01c6f226faedc4f60690fbfbebaebfe8fcc4db3e..e35f1bfa64354b34cea261e652bdb7c2a6178cf5 100644
|
| --- a/chrome/browser/printing/print_preview_tab_controller.cc
|
| +++ b/chrome/browser/printing/print_preview_tab_controller.cc
|
| @@ -215,7 +215,8 @@ void PrintPreviewTabController::PrintPreview(TabContentsWrapper* tab) {
|
| PrintPreviewTabController* tab_controller = GetInstance();
|
| if (!tab_controller)
|
| return;
|
| - tab_controller->GetOrCreatePreviewTab(tab);
|
| + if (!tab_controller->GetOrCreatePreviewTab(tab))
|
| + tab->print_view_manager()->PrintPreviewDone();
|
| }
|
|
|
| TabContentsWrapper* PrintPreviewTabController::GetOrCreatePreviewTab(
|
|
|