Chromium Code Reviews| Index: Source/core/animation/AnimatableValue.cpp |
| diff --git a/Source/core/animation/AnimatableValue.cpp b/Source/core/animation/AnimatableValue.cpp |
| index 763788093f624bd6cd513c236a73c9dcd4827904..63af8cbb00ccad50a959c8f3eca1568d40fdd4b8 100644 |
| --- a/Source/core/animation/AnimatableValue.cpp |
| +++ b/Source/core/animation/AnimatableValue.cpp |
| @@ -34,6 +34,7 @@ |
| #include "core/animation/AnimatableNeutral.h" |
| #include "core/animation/AnimatableNumber.h" |
| #include "core/animation/AnimatableUnknown.h" |
| +#include "core/animation/DeferredAnimatableValue.h" |
| #include <algorithm> |
| @@ -54,6 +55,12 @@ const AnimatableValue* AnimatableValue::neutralValue() |
| return neutralSentinelValue; |
| } |
| +const AnimatableValue* AnimatableValue::deferredSnapshotValue() |
|
Steve Block
2013/08/05 08:14:56
deferredValue() to match DeferredAnimatableValue?
|
| +{ |
| + static DeferredAnimatableValue* deferredAnimatableValueSentinel = DeferredAnimatableValue::create().leakRef(); |
| + return deferredAnimatableValueSentinel; |
| +} |
| + |
| PassRefPtr<AnimatableValue> AnimatableValue::interpolate(const AnimatableValue* left, const AnimatableValue* right, double fraction) |
| { |
| ASSERT(left); |