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 d364936f11270b4efc42fa9a923e78daffdcfb23..f5a9ac9c966eb6c181ed3a777ad5c4ce97a4a2cf 100644 |
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp |
@@ -440,10 +440,10 @@ void CSSPrimitiveValue::accumulateLengthArray(CSSLengthArray& lengthArray, CSSLe |
} |
LengthUnitType lengthType; |
- if (unitTypeToLengthUnitType(type(), lengthType)) { |
- lengthArray.at(lengthType) += m_value.num * conversionToCanonicalUnitsScaleFactor(type()) * multiplier; |
- lengthTypeArray.set(lengthType); |
- } |
+ bool conversionSuccess = unitTypeToLengthUnitType(type(), lengthType); |
+ ASSERT_UNUSED(conversionSuccess, conversionSuccess); |
+ lengthArray.at(lengthType) += m_value.num * conversionToCanonicalUnitsScaleFactor(type()) * multiplier; |
+ lengthTypeArray.set(lengthType); |
} |
void CSSPrimitiveValue::accumulateLengthArray(CSSLengthArray& lengthArray, double multiplier) const |