Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableValue.h

Issue 1701813002: Make Keyframe::PropertySpecificKeyframes RefCounted (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: InvalidatableInterpolation RefPtrs Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/animation/animatable/AnimatableValue.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableValue.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableValue.h
index 8d0fcba92d66d2290c068b1f62e07833be2b9af1..36ee3551f07307eeebe7cdc4f223794f338757e8 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableValue.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableValue.h
@@ -42,7 +42,7 @@ class CORE_EXPORT AnimatableValue : public RefCounted<AnimatableValue> {
public:
virtual ~AnimatableValue() { }
- static const AnimatableValue* neutralValue();
+ static PassRefPtr<AnimatableValue> neutralValue();
static PassRefPtr<AnimatableValue> interpolate(const AnimatableValue*, const AnimatableValue*, double fraction);
static bool usesDefaultInterpolation(const AnimatableValue* from, const AnimatableValue* to)

Powered by Google App Engine