Index: components/printing/renderer/print_web_view_helper_pdf_win.cc |
diff --git a/components/printing/renderer/print_web_view_helper_pdf_win.cc b/components/printing/renderer/print_web_view_helper_pdf_win.cc |
index b82bf207e2c560c0f4979e7fd66fbd4c36af414f..56acc7484d2e80ce3530a7f5d0a8feefd31503f2 100644 |
--- a/components/printing/renderer/print_web_view_helper_pdf_win.cc |
+++ b/components/printing/renderer/print_web_view_helper_pdf_win.cc |
@@ -111,7 +111,7 @@ bool PrintWebViewHelper::PrintPagesNative(blink::WebFrame* frame, |
printed_page_params.content_area = content_area_in_dpi[i]; |
Send(new PrintHostMsg_DidPrintPage(routing_id(), printed_page_params)); |
// Send the rest of the pages with an invalid metafile handle. |
- printed_page_params.metafile_data_handle = nullptr; |
+ printed_page_params.metafile_data_handle = base::SharedMemoryHandle(); |
} |
return true; |
} |