diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-24 23:22:28 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-24 23:22:28 +0000 |
commit | 116d0963cadfbf55ef2ec3d13781987c4d80517a (patch) | |
tree | a7e5b7ceabdad7e6386a87b7f813a79dc57f94a0 /chrome/common/print_messages.cc | |
parent | 0ccc7e3af6db2fc2ce09ebcd780dace294adeb61 (diff) | |
download | chromium_src-116d0963cadfbf55ef2ec3d13781987c4d80517a.zip chromium_src-116d0963cadfbf55ef2ec3d13781987c4d80517a.tar.gz chromium_src-116d0963cadfbf55ef2ec3d13781987c4d80517a.tar.bz2 |
Print preview: Use an ID instead of memory pointer string in WebUI.
BUG=144051
Review URL: https://chromiumcodereview.appspot.com/10870003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153342 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/print_messages.cc')
-rw-r--r-- | chrome/common/print_messages.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/print_messages.cc b/chrome/common/print_messages.cc index bc92d7767..126e248 100644 --- a/chrome/common/print_messages.cc +++ b/chrome/common/print_messages.cc @@ -21,7 +21,7 @@ PrintMsg_Print_Params::PrintMsg_Print_Params() document_cookie(0), selection_only(false), supports_alpha_blend(false), - preview_ui_addr(), + preview_ui_id(-1), preview_request_id(0), is_first_request(false), print_scaling_option(WebKit::WebPrintScalingOptionSourceSize), @@ -47,7 +47,7 @@ void PrintMsg_Print_Params::Reset() { document_cookie = 0; selection_only = false; supports_alpha_blend = false; - preview_ui_addr = std::string(); + preview_ui_id = -1; preview_request_id = 0; is_first_request = false; print_scaling_option = WebKit::WebPrintScalingOptionSourceSize; |