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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp

Issue 2723883005: Add registered custom property wrapping support to CSSAnimatableValueFactory (Closed)
Patch Set: Rebased Created 3 years, 9 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/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.

Powered by Google App Engine
This is Rietveld 408576698