Index: third_party/WebKit/Source/core/css/PropertyRegistration.cpp |
diff --git a/third_party/WebKit/Source/core/css/PropertyRegistration.cpp b/third_party/WebKit/Source/core/css/PropertyRegistration.cpp |
index 71bbc5d70c958adfce787c813ccb91353f799d22..fc591498d1468864a635b801473f7f12cd4b092c 100644 |
--- a/third_party/WebKit/Source/core/css/PropertyRegistration.cpp |
+++ b/third_party/WebKit/Source/core/css/PropertyRegistration.cpp |
@@ -4,7 +4,6 @@ |
#include "core/css/PropertyRegistration.h" |
-#include "core/animation/CSSValueInterpolationType.h" |
#include "core/css/CSSStyleSheet.h" |
#include "core/css/CSSSyntaxDescriptor.h" |
#include "core/css/CSSValueList.h" |
@@ -61,17 +60,6 @@ static bool computationallyIndependent(const CSSValue& value) { |
return true; |
} |
-InterpolationTypes interpolationTypesForSyntax(const AtomicString& propertyName, |
- const CSSSyntaxDescriptor&) { |
- PropertyHandle property(propertyName); |
- InterpolationTypes interpolationTypes; |
- // TODO(alancutter): Read the syntax descriptor and add the appropriate |
- // CSSInterpolationType subclasses. |
- interpolationTypes.push_back( |
- WTF::makeUnique<CSSValueInterpolationType>(property)); |
- return interpolationTypes; |
-} |
- |
void PropertyRegistration::registerProperty( |
ExecutionContext* executionContext, |
const PropertyDescriptor& descriptor, |
@@ -106,7 +94,7 @@ void PropertyRegistration::registerProperty( |
} |
InterpolationTypes interpolationTypes = |
- interpolationTypesForSyntax(atomicName, syntaxDescriptor); |
+ syntaxDescriptor.createInterpolationTypes(atomicName); |
if (descriptor.hasInitialValue()) { |
CSSTokenizer tokenizer(descriptor.initialValue()); |