Index: third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp |
index 56f5e359f37fd2718294bd0ffc6af5596e641c25..c15db7de439ddc884aa8f714245b961ac1073afd 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp |
@@ -251,7 +251,8 @@ InterpolationValue CSSInterpolationType::maybeConvertUnderlyingValue( |
return maybeConvertStandardPropertyUnderlyingValue(state); |
} |
- const AtomicString& name = getProperty().customPropertyName(); |
+ const PropertyHandle property = getProperty(); |
dgozman
2017/01/23 20:09:15
Should we instead make getProperty() return |const
krasin1
2017/01/23 20:13:34
I suppose it's a question to Alan and other WebKit
alancutter (OOO until 2018)
2017/01/23 22:21:33
I'm happy to do this along with a host of other si
krasin1
2017/01/23 22:56:01
ack.
|
+ const AtomicString& name = property.customPropertyName(); |
const PropertyRegistry::Registration* registration = |
getRegistration(state, name); |
if (!registration) { |
@@ -302,7 +303,8 @@ void CSSInterpolationType::applyCustomPropertyValue( |
RefPtr<CSSVariableData> variableData = CSSVariableData::create( |
tokenizer.tokenRange(), isAnimationTainted, needsVariableResolution); |
ComputedStyle& style = *state.style(); |
- const AtomicString& propertyName = getProperty().customPropertyName(); |
+ const PropertyHandle property = getProperty(); |
+ const AtomicString& propertyName = property.customPropertyName(); |
const PropertyRegistry::Registration* registration = |
getRegistration(state, propertyName); |
DCHECK(registration); |