Index: third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp |
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp |
index 5da79c464279fffb5a0600060c631a9cef666dec..e2e9d25d658720769c4dae7281cd1a32930e06c5 100644 |
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp |
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp |
@@ -636,8 +636,7 @@ void CSSAnimations::calculateTransitionUpdateForProperty( |
state.activeTransitions->find(property); |
if (activeTransitionIter != state.activeTransitions->end()) { |
const RunningTransition* runningTransition = &activeTransitionIter->value; |
- to = CSSAnimatableValueFactory::create(property.cssProperty(), |
- state.style); |
+ to = CSSAnimatableValueFactory::create(property, state.style); |
const AnimatableValue* activeTo = runningTransition->to.get(); |
if (to->equals(activeTo)) |
return; |
@@ -658,9 +657,9 @@ void CSSAnimations::calculateTransitionUpdateForProperty( |
} |
if (!to) |
- to = CSSAnimatableValueFactory::create(property.cssProperty(), state.style); |
+ to = CSSAnimatableValueFactory::create(property, state.style); |
RefPtr<AnimatableValue> from = |
- CSSAnimatableValueFactory::create(property.cssProperty(), state.oldStyle); |
+ CSSAnimatableValueFactory::create(property, state.oldStyle); |
// TODO(alancutter): Support transitions on registered custom properties and |
// give the map a PropertyRegistry. |