Fix window.print() of PDF file (fixes issue #2987)

This commit is contained in:
Marshall Greenblatt 2020-05-12 16:25:13 -04:00
parent c82eb3e80f
commit d8b4281c06
1 changed files with 0 additions and 3 deletions

View File

@ -55,9 +55,6 @@ bool CefPrintRenderFrameHelperDelegate::IsPrintPreviewEnabled() {
bool CefPrintRenderFrameHelperDelegate::OverridePrint(
blink::WebLocalFrame* frame) {
if (!frame->GetDocument().IsPluginDocument())
return false;
auto* post_message_support =
extensions::PostMessageSupport::FromWebLocalFrame(frame);
if (post_message_support) {