Use "blink::WebLocalFrame" for "GetMarginsForPdf()"
Fixes "error: no member named 'IsPrintScalingDisabledForPlugin' in 'blink::WebFrame'"
This commit is contained in:
parent
f0cda8d88c
commit
5a4a1a5574
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ bool PrintingNodeOrPdfFrame(const blink::WebFrame* frame,
|
|||
return plugin && plugin->SupportsPaginatedPrint();
|
||||
}
|
||||
|
||||
MarginType GetMarginsForPdf(blink::WebFrame* frame,
|
||||
MarginType GetMarginsForPdf(blink::WebLocalFrame* frame,
|
||||
const blink::WebNode& node) {
|
||||
if (frame->IsPrintScalingDisabledForPlugin(node))
|
||||
return NO_MARGINS;
|
||||
|
|
Loading…
Reference in a new issue