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

Unified Diff: third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp

Issue 2346193002: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Rebase please work 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/animation/CSSFilterListInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp
index 4ad7cdf0452ceb5cd70111db13d0bf893eb5227d..a0ac00cb8790988fa6176f9a818cc7ab53a962d4 100644
--- a/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp
@@ -7,6 +7,7 @@
#include "core/animation/FilterInterpolationFunctions.h"
#include "core/animation/FilterListPropertyFunctions.h"
#include "core/animation/ListInterpolationFunctions.h"
+#include "core/css/CSSIdentifierValue.h"
#include "core/css/CSSValueList.h"
#include "core/css/resolver/StyleResolverState.h"
#include "wtf/PtrUtil.h"
@@ -105,7 +106,7 @@ InterpolationValue CSSFilterListInterpolationType::maybeConvertInherit(const Sty
InterpolationValue CSSFilterListInterpolationType::maybeConvertValue(const CSSValue& value, const StyleResolverState&, ConversionCheckers&) const
{
- if (value.isPrimitiveValue() && toCSSPrimitiveValue(value).getValueID() == CSSValueNone)
+ if (value.isIdentifierValue() && toCSSIdentifierValue(value).getValueID() == CSSValueNone)
return InterpolationValue(InterpolableList::create(0), NonInterpolableList::create());
if (!value.isBaseValueList())

Powered by Google App Engine
This is Rietveld 408576698