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

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

Issue 2618673003: Store registered property InterpolationTypes in PropertyRegistration (Closed)
Patch Set: Created 3 years, 11 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/PropertyRegistry.cpp
diff --git a/third_party/WebKit/Source/core/css/PropertyRegistry.cpp b/third_party/WebKit/Source/core/css/PropertyRegistry.cpp
index 692232579de7c78805ccfe5b57b579e1100ffe23..0d9637442379f46a217aee528d4850822a3abafa 100644
--- a/third_party/WebKit/Source/core/css/PropertyRegistry.cpp
+++ b/third_party/WebKit/Source/core/css/PropertyRegistry.cpp
@@ -11,10 +11,12 @@ void PropertyRegistry::registerProperty(
const CSSSyntaxDescriptor& syntax,
bool inherits,
const CSSValue* initial,
- PassRefPtr<CSSVariableData> initialVariableData) {
+ PassRefPtr<CSSVariableData> initialVariableData,
+ InterpolationTypes interpolationTypes) {
DCHECK(!registration(name));
m_registrations.set(name, new Registration(syntax, inherits, initial,
- std::move(initialVariableData)));
+ std::move(initialVariableData),
+ std::move(interpolationTypes)));
}
const PropertyRegistry::Registration* PropertyRegistry::registration(

Powered by Google App Engine
This is Rietveld 408576698