| Index: chrome/browser/printing/print_preview_message_handler.cc
|
| diff --git a/chrome/browser/printing/print_preview_message_handler.cc b/chrome/browser/printing/print_preview_message_handler.cc
|
| index 89cc4977ce55084e3bcb7b912c5ce9b230723f15..ae2ff22c74b9de34136a4e72c64221b946fb4d9f 100644
|
| --- a/chrome/browser/printing/print_preview_message_handler.cc
|
| +++ b/chrome/browser/printing/print_preview_message_handler.cc
|
| @@ -190,6 +190,12 @@ void PrintPreviewMessageHandler::OnDidGetDefaultPageLayout(
|
| void PrintPreviewMessageHandler::OnPrintPreviewCancelled(int document_cookie) {
|
| // Always need to stop the worker.
|
| StopWorker(document_cookie);
|
| +
|
| + // Notify UI
|
| + PrintPreviewUI* print_preview_ui = GetPrintPreviewUI();
|
| + if (!print_preview_ui)
|
| + return;
|
| + print_preview_ui->OnPrintPreviewCancelled();
|
| }
|
|
|
| void PrintPreviewMessageHandler::OnInvalidPrinterSettings(int document_cookie) {
|
|
|