Index: chrome/renderer/print_web_view_helper.cc |
diff --git a/chrome/renderer/print_web_view_helper.cc b/chrome/renderer/print_web_view_helper.cc |
index 97afa8626b823def58337de32be13be502aa12f9..bfcf5f9d5f9029a138a442e4acbb4de13654f243 100644 |
--- a/chrome/renderer/print_web_view_helper.cc |
+++ b/chrome/renderer/print_web_view_helper.cc |
@@ -1539,10 +1539,6 @@ bool PrintWebViewHelper::GetPrintSettingsFromUser(WebKit::WebFrame* frame, |
PrintHostMsg_ScriptedPrint_Params params; |
PrintMsg_PrintPages_Params print_settings; |
- // 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. |
- params.host_window_id = render_view()->GetHostWindow(); |
params.cookie = print_pages_params_->params.document_cookie; |
params.has_selection = frame->hasSelection(); |
params.expected_pages_count = expected_pages_count; |