Skip to content

Commit

Permalink
update printing code from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerwang committed Feb 8, 2014
1 parent 0430bac commit 19a11ab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/common/print_messages.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ PrintMsg_Print_Params::PrintMsg_Print_Params()
print_scaling_option(WebKit::WebPrintScalingOptionSourceSize),
print_to_pdf(false),
display_header_footer(false),
date(),
title(),
url(),
should_print_backgrounds(false) {
Expand All @@ -54,7 +53,6 @@ void PrintMsg_Print_Params::Reset() {
print_scaling_option = WebKit::WebPrintScalingOptionSourceSize;
print_to_pdf = false;
display_header_footer = false;
date = string16();
title = string16();
url = string16();
should_print_backgrounds = false;
Expand Down
4 changes: 0 additions & 4 deletions src/common/print_messages.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ struct PrintMsg_Print_Params {
WebKit::WebPrintScalingOption print_scaling_option;
bool print_to_pdf;
bool display_header_footer;
string16 date;
string16 title;
string16 url;
bool should_print_backgrounds;
Expand Down Expand Up @@ -137,9 +136,6 @@ IPC_STRUCT_TRAITS_BEGIN(PrintMsg_Print_Params)
// Specifies if the header and footer should be rendered.
IPC_STRUCT_TRAITS_MEMBER(display_header_footer)

// Date string to be printed as header if requested by the user.
IPC_STRUCT_TRAITS_MEMBER(date)

// Title string to be printed as header if requested by the user.
IPC_STRUCT_TRAITS_MEMBER(title)

Expand Down

0 comments on commit 19a11ab

Please sign in to comment.