| Index: chrome/browser/printing/print_preview_message_handler.cc
|
| diff --git a/chrome/browser/printing/print_preview_message_handler.cc b/chrome/browser/printing/print_preview_message_handler.cc
|
| index 99fd50cfee1247cbd7f3e068d07deed7a17cd7a3..06e4a6a78c04afc9396890e5202e2e3306558a64 100644
|
| --- a/chrome/browser/printing/print_preview_message_handler.cc
|
| +++ b/chrome/browser/printing/print_preview_message_handler.cc
|
| @@ -197,14 +197,16 @@ void PrintPreviewMessageHandler::OnPrintPreviewFailed(int document_cookie) {
|
| }
|
|
|
| void PrintPreviewMessageHandler::OnDidGetDefaultPageLayout(
|
| - const PageSizeMargins& page_layout_in_points) {
|
| + const PageSizeMargins& page_layout_in_points,
|
| + bool has_custom_page_size_style) {
|
| TabContentsWrapper* print_preview_tab = GetPrintPreviewTab();
|
| if (!print_preview_tab || !print_preview_tab->tab_contents()->GetWebUI())
|
| return;
|
|
|
| PrintPreviewUI* print_preview_ui = static_cast<PrintPreviewUI*>(
|
| print_preview_tab->tab_contents()->GetWebUI());
|
| - print_preview_ui->OnDidGetDefaultPageLayout(page_layout_in_points);
|
| + print_preview_ui->OnDidGetDefaultPageLayout(page_layout_in_points,
|
| + has_custom_page_size_style);
|
| }
|
|
|
| void PrintPreviewMessageHandler::OnPrintPreviewCancelled(int document_cookie) {
|
|
|