make base::SharedMemoryHandle a class on POSIX.

https://codereview.chromium.org/2843113002
This commit is contained in:
Aleksei Kuzmin 2017-09-13 23:53:41 +03:00 committed by Cheng Zhao
parent 59550b203f
commit 4607a1fd13

View file

@ -106,7 +106,7 @@ bool PrintWebViewHelper::PrintPagesNative(blink::WebLocalFrame* frame,
printed_page_params.page_number = printed_pages[i]; printed_page_params.page_number = printed_pages[i];
Send(new PrintHostMsg_DidPrintPage(routing_id(), printed_page_params)); Send(new PrintHostMsg_DidPrintPage(routing_id(), printed_page_params));
// Send the rest of the pages with an invalid metafile handle. // Send the rest of the pages with an invalid metafile handle.
printed_page_params.metafile_data_handle.fd = -1; printed_page_params.metafile_data_handle.Release();
} }
return true; return true;
} }