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

Unified Diff: Source/core/animation/animatable/AnimatableDouble.cpp

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/AnimatableDouble.cpp
diff --git a/Source/core/animation/animatable/AnimatableDouble.cpp b/Source/core/animation/animatable/AnimatableDouble.cpp
index a71e790152d01972f0ebea582c0d9be3aadc1954..225726fa49435ad201276a83b487d661322bbd2a 100644
--- a/Source/core/animation/animatable/AnimatableDouble.cpp
+++ b/Source/core/animation/animatable/AnimatableDouble.cpp
@@ -56,10 +56,4 @@ bool AnimatableDouble::equalTo(const AnimatableValue* value) const
return m_number == toAnimatableDouble(value)->m_number;
}
-double AnimatableDouble::distanceTo(const AnimatableValue* value) const
-{
- const AnimatableDouble* other = toAnimatableDouble(value);
- return fabs(m_number - other->m_number);
-}
-
} // namespace blink
« no previous file with comments | « Source/core/animation/animatable/AnimatableDouble.h ('k') | Source/core/animation/animatable/AnimatableDoubleTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698