  
  bool PrintWebViewHelper::PreviewPageRendered(int page_number,
                                               PdfMetafileSkia* metafile) {
-@@ -2076,6 +2095,7 @@ bool PrintWebViewHelper::PreviewPageRendered(int page_number,
+@@ -2091,6 +2110,7 @@ bool PrintWebViewHelper::PreviewPageRendered(int page_number,
      return false;
    }
  

 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 50ab353c84cce016342e54bb44b13670578191f9..ba891b5997af3299df9acb29b2cfa37a6029a49d 100644
--- a/components/printing/renderer/print_web_view_helper.cc
+++ b/components/printing/renderer/print_web_view_helper.cc
@@ -320,7 +320,7 @@ bool PrintingNodeOrPdfFrame(const blink::WebLocalFrame* frame,

 
   while (!print_preview_context_.IsFinalPageRendered()) {
     int page_number = print_preview_context_.GetNextPageNumber();
@@ -1334,9 +1344,6 @@ bool PrintWebViewHelper::CreatePreviewDocument() {
     if (!RenderPreviewPage(page_number, print_params))
       return false;
 
