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

Unified Diff: third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp

Issue 2382653006: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Make check-webkit-style happy Created 4 years, 3 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/resolver/TransformBuilder.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp b/third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp
index 637f64a610bab7dbd8fa2712e8b68c85a1fe8e0f..392307019f3e6eb80e9f3673006a3c6f635c3948 100644
--- a/third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp
@@ -106,8 +106,7 @@ void TransformBuilder::createTransformOperations(
TransformOperations& outOperations) {
ASSERT(!outOperations.size());
if (!inValue.isValueList()) {
- ASSERT(inValue.isPrimitiveValue() &&
- toCSSPrimitiveValue(inValue).getValueID() == CSSValueNone);
+ DCHECK_EQ(toCSSIdentifierValue(inValue).getValueID(), CSSValueNone);
return;
}

Powered by Google App Engine
This is Rietveld 408576698