diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 03:27:10 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 03:27:10 +0000 |
commit | 8604f721e712cb420da697d377f5fcfb706a3126 (patch) | |
tree | 00e31398d9013dcb74f972d6a3d26c4fae6ccb6e /chrome/renderer/print_web_view_helper_linux.cc | |
parent | 205137b36e97ae29017a1d813cf95f7f58b35171 (diff) | |
download | chromium_src-8604f721e712cb420da697d377f5fcfb706a3126.zip chromium_src-8604f721e712cb420da697d377f5fcfb706a3126.tar.gz chromium_src-8604f721e712cb420da697d377f5fcfb706a3126.tar.bz2 |
Print Preview: Fix hanging browser process on Windows.
BUG=none
TEST=Start Chrome with print preview enabled, access print preview and quit.
Review URL: http://codereview.chromium.org/5289004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67667 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/print_web_view_helper_linux.cc')
-rw-r--r-- | chrome/renderer/print_web_view_helper_linux.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/renderer/print_web_view_helper_linux.cc b/chrome/renderer/print_web_view_helper_linux.cc index 9ecc802..4624db1 100644 --- a/chrome/renderer/print_web_view_helper_linux.cc +++ b/chrome/renderer/print_web_view_helper_linux.cc @@ -53,7 +53,9 @@ void PrintWebViewHelper::PrintPages(const ViewMsg_PrintPages_Params& params, int fd_in_browser = -1; if (is_preview_) { - Send(new ViewHostMsg_PagesReadyForPreview(routing_id(), fd_in_browser)); + Send(new ViewHostMsg_PagesReadyForPreview(routing_id(), + params.params.document_cookie, + fd_in_browser)); return; } // Get the size of the resulting metafile. |