diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-19 05:19:15 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-19 05:19:15 +0000 |
commit | f3b1cd4e1b73ec63652fc4006d6c1061a7e88bbc (patch) | |
tree | 66e2e24f1180f023e6bafbc3cc0a1571f676bec4 /chrome/renderer/print_web_view_helper.cc | |
parent | 99a9048ec7a7cfa1dad89f734d359f381ab6fb94 (diff) | |
download | chromium_src-f3b1cd4e1b73ec63652fc4006d6c1061a7e88bbc.zip chromium_src-f3b1cd4e1b73ec63652fc4006d6c1061a7e88bbc.tar.gz chromium_src-f3b1cd4e1b73ec63652fc4006d6c1061a7e88bbc.tar.bz2 |
Print Preview: Fix a bad DCHECK.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8348023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106213 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/print_web_view_helper.cc')
-rw-r--r-- | chrome/renderer/print_web_view_helper.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/print_web_view_helper.cc b/chrome/renderer/print_web_view_helper.cc index a36b17a..e0b5eb9 100644 --- a/chrome/renderer/print_web_view_helper.cc +++ b/chrome/renderer/print_web_view_helper.cc @@ -1531,7 +1531,7 @@ const WebKit::WebNode& PrintWebViewHelper::PrintPreviewContext::node() const { } int PrintWebViewHelper::PrintPreviewContext::total_page_count() const { - DCHECK(IsRendering()); + DCHECK(state_ != UNINITIALIZED); return total_page_count_; } |