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

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

Issue 2893313004: Remove unused AnimatableValue types (Closed)
Patch Set: Created 3 years, 7 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 e2bbfc9e5e649f5aa9d40a78ecf6060ceed12637..6a536ab43d19a548e13ea260c1f74bc43389583d 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
@@ -779,10 +779,10 @@ void CSSAnimations::CalculateTransitionUpdateForProperty(
keyframes.push_back(end_keyframe);
if (CompositorAnimations::IsCompositableProperty(property.CssProperty())) {
- RefPtr<AnimatableValue> from =
- CSSAnimatableValueFactory::Create(property, state.old_style);
+ RefPtr<AnimatableValue> from = CSSAnimatableValueFactory::Create(
+ property.CssProperty(), state.old_style);
RefPtr<AnimatableValue> to =
- CSSAnimatableValueFactory::Create(property, state.style);
+ CSSAnimatableValueFactory::Create(property.CssProperty(), state.style);
delay_keyframe->SetCompositorValue(from);
start_keyframe->SetCompositorValue(from);
end_keyframe->SetCompositorValue(to);

Powered by Google App Engine
This is Rietveld 408576698