summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-14 03:44:36 +0000
committerkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-14 03:44:36 +0000
commite01bbe63cebccc443986b30917a8d2c45cec8f63 (patch)
tree6f59179e9808a9fff244a17035ac723cfc76e9c6 /chrome
parent334a09b8daa1069691c9b7f1bc063e0790eccc88 (diff)
downloadchromium_src-e01bbe63cebccc443986b30917a8d2c45cec8f63.zip
chromium_src-e01bbe63cebccc443986b30917a8d2c45cec8f63.tar.gz
chromium_src-e01bbe63cebccc443986b30917a8d2c45cec8f63.tar.bz2
PrintPreview: [Regression] Fix the preview tab reload issue.
BUG=89071 TEST=Please refer to bug report. Review URL: http://codereview.chromium.org/7363009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92475 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/renderer/print_web_view_helper.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/renderer/print_web_view_helper.cc b/chrome/renderer/print_web_view_helper.cc
index 8302907..9f870be 100644
--- a/chrome/renderer/print_web_view_helper.cc
+++ b/chrome/renderer/print_web_view_helper.cc
@@ -372,7 +372,8 @@ void PrintWebViewHelper::PrintPreview(WebKit::WebFrame* frame,
return;
}
- if (old_print_pages_params_.get() &&
+ if (print_pages_params_->params.preview_request_id != 0 &&
+ old_print_pages_params_.get() &&
PrintMsg_Print_Params_IsEqual(*old_print_pages_params_,
*print_pages_params_)) {
PrintHostMsg_DidPreviewDocument_Params preview_params;