    notify_browser_of_print_failure_ = false;
    if (!success)
      LOG(ERROR) << "Failure in OnPrintingDone";
-@@ -1521,19 +1419,13 @@ void PrintWebViewHelper::DidFinishPrinting(PrintingResult result) {
+@@ -1521,19 +1417,13 @@ void PrintWebViewHelper::DidFinishPrinting(PrintingResult result) {
        }
        break;
  

-  bool generate_draft_pages = false;
-  if (!settings.GetBoolean(kSettingGenerateDraftData, &generate_draft_pages)) {
-    NOTREACHED();
+    is_print_ready_metafile_sent_ = false;
+    PrepareFrameForPreviewDocument();
   }
-  print_preview_context_.set_generate_draft_pages(generate_draft_pages);
-
-  PrepareFrameForPreviewDocument();
 }
 
 void PrintWebViewHelper::PrepareFrameForPreviewDocument() {

 
 bool PrintWebViewHelper::PreviewPageRendered(int page_number,
                                              PdfMetafileSkia* metafile) {
@@ -2045,23 +1920,8 @@ bool PrintWebViewHelper::PreviewPageRendered(int page_number,
     return false;
   }
 
