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

Unified Diff: third_party/WebKit/Source/core/css/CSSBasicShapeValues.cpp

Issue 2896443003: Replace remaining ASSERT with DCHECK/_EQ as appropriate (Closed)
Patch Set: 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/css/CSSBasicShapeValues.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSBasicShapeValues.cpp b/third_party/WebKit/Source/core/css/CSSBasicShapeValues.cpp
index 8c561e2d0af552306caf35a59812232aa348d277..991ba68e21feb7ebeda351fef570070e1b1e9c46 100644
--- a/third_party/WebKit/Source/core/css/CSSBasicShapeValues.cpp
+++ b/third_party/WebKit/Source/core/css/CSSBasicShapeValues.cpp
@@ -225,7 +225,7 @@ DEFINE_TRACE_AFTER_DISPATCH(CSSBasicShapeEllipseValue) {
static String BuildPolygonString(const WindRule& wind_rule,
const Vector<String>& points) {
- ASSERT(!(points.size() % 2));
+ DCHECK(!(points.size() % 2));
StringBuilder result;
const char kEvenOddOpening[] = "polygon(evenodd, ";

Powered by Google App Engine
This is Rietveld 408576698