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

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

Issue 928103002: Remove some unused functions in core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: git cl try Created 5 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: Source/core/animation/animatable/AnimatableValue.h
diff --git a/Source/core/animation/animatable/AnimatableValue.h b/Source/core/animation/animatable/AnimatableValue.h
index 9aef5917e102bbf5375bea90e4ccae2425856b15..0790dc6b9f466036c0cc110d8a4f74538f9cf3c0 100644
--- a/Source/core/animation/animatable/AnimatableValue.h
+++ b/Source/core/animation/animatable/AnimatableValue.h
@@ -44,7 +44,6 @@ public:
static const AnimatableValue* neutralValue();
static PassRefPtrWillBeRawPtr<AnimatableValue> interpolate(const AnimatableValue*, const AnimatableValue*, double fraction);
- static double distance(const AnimatableValue* from, const AnimatableValue* to);
static bool usesDefaultInterpolation(const AnimatableValue* from, const AnimatableValue* to)
{
return !from->isSameType(to) || from->usesDefaultInterpolationWith(to);
@@ -128,8 +127,6 @@ private:
// Implementations can assume that the object being compared has the same type as the object this is called on
virtual bool equalTo(const AnimatableValue*) const = 0;
- virtual double distanceTo(const AnimatableValue*) const;
-
template <class Keyframe> friend class KeyframeEffectModel;
};
« no previous file with comments | « Source/core/animation/animatable/AnimatableDoubleTest.cpp ('k') | Source/core/animation/animatable/AnimatableValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698