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

Unified Diff: third_party/WebKit/Source/platform/graphics/InterceptingCanvas.h

Issue 2807923002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics (Closed)
Patch Set: fix typo Created 3 years, 8 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/platform/graphics/InterceptingCanvas.h
diff --git a/third_party/WebKit/Source/platform/graphics/InterceptingCanvas.h b/third_party/WebKit/Source/platform/graphics/InterceptingCanvas.h
index 177094308aafadd45fc3cde83e2db28c3ae809c0..d197d542a7557a7a3b4c85101106dab62527500f 100644
--- a/third_party/WebKit/Source/platform/graphics/InterceptingCanvas.h
+++ b/third_party/WebKit/Source/platform/graphics/InterceptingCanvas.h
@@ -54,7 +54,7 @@ class InterceptingCanvasBase : public SkCanvas {
}
~CanvasInterceptorBase() {
- ASSERT(canvas_->call_nesting_depth_ > 0);
+ DCHECK_GT(canvas_->call_nesting_depth_, 0u);
if (!--canvas_->call_nesting_depth_)
canvas_->call_count_++;
}

Powered by Google App Engine
This is Rietveld 408576698