Index: chrome/browser/printing/printing_message_filter.cc |
diff --git a/chrome/browser/printing/printing_message_filter.cc b/chrome/browser/printing/printing_message_filter.cc |
index f74fdc07d19eef2e63b49f41aaacc1b317485247..3a1df0ad3f4945f40c75d74e08817832b7d20e9e 100644 |
--- a/chrome/browser/printing/printing_message_filter.cc |
+++ b/chrome/browser/printing/printing_message_filter.cc |
@@ -56,6 +56,13 @@ void RenderParamsFromPrintSettings(const printing::PrintSettings& settings, |
params->document_cookie = 0; |
params->selection_only = settings.selection_only; |
params->supports_alpha_blend = settings.supports_alpha_blend(); |
+ |
+ params->display_header_footer = settings.display_header_footer; |
+ if (!settings.display_header_footer) |
+ return; |
+ params->date = settings.date; |
+ params->title = settings.title; |
+ params->url = settings.url; |
} |
} // namespace |