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

Unified Diff: third_party/WebKit/Source/core/style/SVGComputedStyle.cpp

Issue 2751653003: Replace ASSERT and ASSERT_NOT_REACHED in core/style/ (Closed)
Patch Set: Replace ASSERT and ASSERT_NOT_REACHED in core/style/ Created 3 years, 9 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/style/SVGComputedStyle.cpp
diff --git a/third_party/WebKit/Source/core/style/SVGComputedStyle.cpp b/third_party/WebKit/Source/core/style/SVGComputedStyle.cpp
index fb074ed65d7841d263c31ab8cc7fbb0b0be36aaf..7f8a6a98b128a6f3464ca5b3ebf26f1e1a878969 100644
--- a/third_party/WebKit/Source/core/style/SVGComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/SVGComputedStyle.cpp
@@ -248,7 +248,7 @@ unsigned paintOrderSequence(EPaintOrderType first,
EPaintOrderType SVGComputedStyle::paintOrderType(unsigned index) const {
unsigned pt = 0;
- ASSERT(index < ((1 << kPaintOrderBitwidth) - 1));
+ DCHECK(index < ((1 << kPaintOrderBitwidth) - 1));
switch (this->paintOrder()) {
case PaintOrderNormal:
case PaintOrderFillStrokeMarkers:
« no previous file with comments | « third_party/WebKit/Source/core/style/QuotesData.cpp ('k') | third_party/WebKit/Source/core/style/ShadowData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698