  IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewCancelled,
                      int /* document cookie */)
 diff --git a/components/printing/renderer/print_web_view_helper.cc b/components/printing/renderer/print_web_view_helper.cc
-index 3c9dfc0d1ed3fbceb6dacf663dd8fb4ee9f045d3..55b2350eaa5d46599c767ea4563895602ef00457 100644
+index 3c9dfc0d1ed3fbceb6dacf663dd8fb4ee9f045d3..1b29de4ce901293b681098704194c5902363ca8e 100644
 --- a/components/printing/renderer/print_web_view_helper.cc
 +++ b/components/printing/renderer/print_web_view_helper.cc
+@@ -1,4 +1,4 @@
+-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
++/// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+ // Use of this source code is governed by a BSD-style license that can be
+ // found in the LICENSE file.
+ 
 @@ -320,7 +320,7 @@ bool PrintingNodeOrPdfFrame(const blink::WebLocalFrame* frame,
    return plugin && plugin->SupportsPaginatedPrint();
  }

 
 bool PrintWebViewHelper::PreviewPageRendered(int page_number,
                                              PdfMetafileSkia* metafile) {
@@ -2100,6 +2119,7 @@ bool PrintWebViewHelper::PreviewPageRendered(int page_number,
     return false;
   }
 

   notify_browser_of_print_failure_ = false;
   if (!success)
     LOG(ERROR) << "Failure in OnPrintingDone";
@@ -1570,8 +1576,8 @@ void PrintWebViewHelper::DidFinishPrinting(PrintingResult result) {
       }
       break;
 
-#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
     case FAIL_PREVIEW:
+#if 0
       if (!is_print_ready_metafile_sent_) {
         if (notify_browser_of_print_failure_) {
           LOG(ERROR) << "CreatePreviewDocument failed";
@@ -1581,13 +1587,24 @@ void PrintWebViewHelper::DidFinishPrinting(PrintingResult result) {
         }
       }
       print_preview_context_.Failed(notify_browser_of_print_failure_);
+#endif  // 0
+      LOG(ERROR) << "PREVIEW FAILED.";
+      if (print_pages_params_) {
