Skip to content

Commit 19a11ab

Browse files
committed
update printing code from upstream
Fix nwjs#1545
1 parent 0430bac commit 19a11ab

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/common/print_messages.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ PrintMsg_Print_Params::PrintMsg_Print_Params()
2727
print_scaling_option(WebKit::WebPrintScalingOptionSourceSize),
2828
print_to_pdf(false),
2929
display_header_footer(false),
30-
date(),
3130
title(),
3231
url(),
3332
should_print_backgrounds(false) {
@@ -54,7 +53,6 @@ void PrintMsg_Print_Params::Reset() {
5453
print_scaling_option = WebKit::WebPrintScalingOptionSourceSize;
5554
print_to_pdf = false;
5655
display_header_footer = false;
57-
date = string16();
5856
title = string16();
5957
url = string16();
6058
should_print_backgrounds = false;

src/common/print_messages.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ struct PrintMsg_Print_Params {
4545
WebKit::WebPrintScalingOption print_scaling_option;
4646
bool print_to_pdf;
4747
bool display_header_footer;
48-
string16 date;
4948
string16 title;
5049
string16 url;
5150
bool should_print_backgrounds;
@@ -137,9 +136,6 @@ IPC_STRUCT_TRAITS_BEGIN(PrintMsg_Print_Params)
137136
// Specifies if the header and footer should be rendered.
138137
IPC_STRUCT_TRAITS_MEMBER(display_header_footer)
139138

140-
// Date string to be printed as header if requested by the user.
141-
IPC_STRUCT_TRAITS_MEMBER(date)
142-
143139
// Title string to be printed as header if requested by the user.
144140
IPC_STRUCT_TRAITS_MEMBER(title)
145141

0 commit comments

Comments
 (0)