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

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

Issue 2680923005: Refactor CSS Transitions to use CSSInterpolationTypes instead of AnimatableValues (Closed)
Patch Set: Fix transition tests to not expect incorrect behaviour Created 3 years, 10 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.h
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimations.h b/third_party/WebKit/Source/core/animation/css/CSSAnimations.h
index 21600357bcd65b4d1cc99080415e2848401c0c9c..fbbb3b90897363cae4a3b94d0e9757996613b7df 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimations.h
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimations.h
@@ -139,8 +139,8 @@ class CSSAnimations final {
DEFINE_INLINE_TRACE() { visitor->trace(animation); }
Member<Animation> animation;
- const AnimatableValue* from;
- const AnimatableValue* to;
+ RefPtr<AnimatableValue> from;
+ RefPtr<AnimatableValue> to;
RefPtr<AnimatableValue> reversingAdjustedStartValue;
double reversingShorteningFactor;
};

Powered by Google App Engine
This is Rietveld 408576698