Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(740)

Unified Diff: third_party/WebKit/Source/core/page/PrintContext.cpp

Issue 2858963002: Replace ASSERT with DCHECK in core/ (Closed)
Patch Set: WorkerBackingThread Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/page/PrintContext.cpp
diff --git a/third_party/WebKit/Source/core/page/PrintContext.cpp b/third_party/WebKit/Source/core/page/PrintContext.cpp
index dc76a2a662c2e0637f421d0c20cd9732fe7e85e5..12bed3d6427b5c6f8ce4e2ba2c2fdc17ab33613b 100644
--- a/third_party/WebKit/Source/core/page/PrintContext.cpp
+++ b/third_party/WebKit/Source/core/page/PrintContext.cpp
@@ -171,7 +171,7 @@ void PrintContext::BeginPrintMode(float width, float height) {
}
void PrintContext::EndPrintMode() {
- ASSERT(is_printing_);
+ DCHECK(is_printing_);
is_printing_ = false;
if (IsFrameValid())
frame_->SetPrinting(false, FloatSize(), FloatSize(), 0);
« no previous file with comments | « third_party/WebKit/Source/core/page/PagePopupSupplement.cpp ('k') | third_party/WebKit/Source/core/page/SpatialNavigation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698