summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/renderer/print_web_view_helper.cc2
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_;
}