diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-04 20:00:21 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-04 20:00:21 +0000 |
commit | 9b4dd10af7b7ba6c25dfa10e7c2d71385899d41c (patch) | |
tree | c4f2e3acf165479dfe46b878bb19f71938552322 /chrome/renderer/print_web_view_helper.h | |
parent | c057ed7f234d1b02858fdeed7990ebff148f08b1 (diff) | |
download | chromium_src-9b4dd10af7b7ba6c25dfa10e7c2d71385899d41c.zip chromium_src-9b4dd10af7b7ba6c25dfa10e7c2d71385899d41c.tar.gz chromium_src-9b4dd10af7b7ba6c25dfa10e7c2d71385899d41c.tar.bz2 |
Print Preview: Fix crash in PrepareFrameAndViewForPrint.
BUG=90887
TEST=Find a way to trigger a print preview generation failure, then reload the print preview tab.
Review URL: http://codereview.chromium.org/7577001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95471 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/print_web_view_helper.h')
-rw-r--r-- | chrome/renderer/print_web_view_helper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/print_web_view_helper.h b/chrome/renderer/print_web_view_helper.h index 4606c37..e2bd4f6 100644 --- a/chrome/renderer/print_web_view_helper.h +++ b/chrome/renderer/print_web_view_helper.h @@ -331,6 +331,9 @@ class PrintWebViewHelper : public RenderViewObserver, // Cleanup after print preview finishes. void Finished(); + // Cleanup after print preview fails. + void Failed(); + // Abort the print preview. void Abort(); |