mirror of
https://github.com/electron/electron.git
synced 2026-01-25 23:38:18 -05:00
make base::SharedMemoryHandle a class on POSIX.
https://codereview.chromium.org/2843113002
This commit is contained in:
committed by
Cheng Zhao
parent
59550b203f
commit
4607a1fd13
@@ -106,7 +106,7 @@ bool PrintWebViewHelper::PrintPagesNative(blink::WebLocalFrame* frame,
|
||||
printed_page_params.page_number = printed_pages[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.fd = -1;
|
||||
printed_page_params.metafile_data_handle.Release();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user