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

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

Issue 2394683005: Remove ASSERT_UNUSED (Closed)
Patch Set: Created 4 years, 2 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/CSSPrimitiveValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
index 41779bb3e1c67d2d180272b2c60aaf6355095888..969acebd627b9db14e3443805e614b855eb151b6 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
@@ -328,7 +328,7 @@ void CSSPrimitiveValue::accumulateLengthArray(CSSLengthArray& lengthArray,
LengthUnitType lengthType;
bool conversionSuccess = unitTypeToLengthUnitType(type(), lengthType);
- ASSERT_UNUSED(conversionSuccess, conversionSuccess);
+ DCHECK(conversionSuccess);
lengthArray.values[lengthType] +=
m_value.num * conversionToCanonicalUnitsScaleFactor(type()) * multiplier;
lengthArray.typeFlags.set(lengthType);

Powered by Google App Engine
This is Rietveld 408576698