| Index: components/printing/renderer/print_web_view_helper.cc
|
| diff --git a/components/printing/renderer/print_web_view_helper.cc b/components/printing/renderer/print_web_view_helper.cc
|
| index d824dfe2d5ba37c9e8a9fa3b7c9e67f419e198b4..33fd48a4549fe8c2828670909989db28198d0671 100644
|
| --- a/components/printing/renderer/print_web_view_helper.cc
|
| +++ b/components/printing/renderer/print_web_view_helper.cc
|
| @@ -120,7 +120,7 @@ bool PrintMsg_Print_Params_IsValid(const PrintMsg_Print_Params& params) {
|
| }
|
|
|
| PrintMsg_Print_Params GetCssPrintParams(
|
| - blink::WebFrame* frame,
|
| + blink::WebLocalFrame* frame,
|
| int page_index,
|
| const PrintMsg_Print_Params& page_params) {
|
| PrintMsg_Print_Params page_css_params = page_params;
|
| @@ -318,7 +318,7 @@ bool IsPrintToPdfRequested(const base::DictionaryValue& job_settings) {
|
| return print_to_pdf;
|
| }
|
|
|
| -bool PrintingFrameHasPageSizeStyle(blink::WebFrame* frame,
|
| +bool PrintingFrameHasPageSizeStyle(blink::WebLocalFrame* frame,
|
| int total_page_count) {
|
| if (!frame)
|
| return false;
|
| @@ -423,7 +423,7 @@ blink::WebPrintScalingOption GetPrintScalingOption(
|
| #endif // defined(ENABLE_PRINT_PREVIEW)
|
|
|
| PrintMsg_Print_Params CalculatePrintParamsForCss(
|
| - blink::WebFrame* frame,
|
| + blink::WebLocalFrame* frame,
|
| int page_index,
|
| const PrintMsg_Print_Params& page_params,
|
| bool ignore_css_margins,
|
| @@ -1498,7 +1498,7 @@ void PrintWebViewHelper::FinishFramePrinting() {
|
|
|
| // static - Not anonymous so that platform implementations can use it.
|
| void PrintWebViewHelper::ComputePageLayoutInPointsForCss(
|
| - blink::WebFrame* frame,
|
| + blink::WebLocalFrame* frame,
|
| int page_index,
|
| const PrintMsg_Print_Params& page_params,
|
| bool ignore_css_margins,
|
| @@ -1744,7 +1744,7 @@ bool PrintWebViewHelper::RenderPagesForPrint(blink::WebLocalFrame* frame,
|
| #if !defined(OS_MACOSX)
|
| void PrintWebViewHelper::PrintPageInternal(
|
| const PrintMsg_PrintPage_Params& params,
|
| - blink::WebFrame* frame,
|
| + blink::WebLocalFrame* frame,
|
| PdfMetafileSkia* metafile,
|
| gfx::Size* page_size_in_dpi,
|
| gfx::Rect* content_area_in_dpi) {
|
|
|