summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/print_web_view_helper.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-03 00:56:01 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-03 00:56:01 +0000
commit0c6a76e4a58d81d125d18f9b576d0c44fcf3449f (patch)
treecec7974ed73a510cd6bb69976ba8e4563876748b /chrome/renderer/print_web_view_helper.cc
parentd5d62170b4464c8c41f51aa366fa67c7a4495f0b (diff)
downloadchromium_src-0c6a76e4a58d81d125d18f9b576d0c44fcf3449f.zip
chromium_src-0c6a76e4a58d81d125d18f9b576d0c44fcf3449f.tar.gz
chromium_src-0c6a76e4a58d81d125d18f9b576d0c44fcf3449f.tar.bz2
Printing: Remove an unused variable, update some obsolete comments, and remove an unneeded prefs check.
BUG=none TEST=none Review URL: http://codereview.chromium.org/8386028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108378 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/print_web_view_helper.cc')
-rw-r--r--chrome/renderer/print_web_view_helper.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/renderer/print_web_view_helper.cc b/chrome/renderer/print_web_view_helper.cc
index 4df68f0..1b4008a 100644
--- a/chrome/renderer/print_web_view_helper.cc
+++ b/chrome/renderer/print_web_view_helper.cc
@@ -1167,10 +1167,6 @@ bool PrintWebViewHelper::GetPrintSettingsFromUser(WebKit::WebFrame* frame,
PrintHostMsg_ScriptedPrint_Params params;
PrintMsg_PrintPages_Params print_settings;
- // The routing id is sent across as it is needed to look up the
- // corresponding RenderViewHost instance to signal and reset the
- // pump messages event.
- params.routing_id = render_view()->GetRoutingId();
// host_window_ may be NULL at this point if the current window is a
// popup and the print() command has been issued from the parent. The
// receiver of this message has to deal with this.