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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableTransform.cpp

Issue 2893313004: Remove unused AnimatableValue types (Closed)
Patch Set: Created 3 years, 7 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/animatable/AnimatableTransform.cpp
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableTransform.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatableTransform.cpp
index d02785ce13c304697799ab6cb7d4aff72859a278..a433d66f5982c8b077c31676be31aa837fb79d60 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableTransform.cpp
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableTransform.cpp
@@ -34,12 +34,6 @@
namespace blink {
-PassRefPtr<AnimatableTransform> AnimatableTransform::Create(
- const TransformOperations& transform,
- double zoom) {
- return AdoptRef(new AnimatableTransform(transform, zoom));
-}
-
PassRefPtr<AnimatableValue> AnimatableTransform::InterpolateTo(
const AnimatableValue* value,
double fraction) const {
@@ -49,8 +43,4 @@ PassRefPtr<AnimatableValue> AnimatableTransform::InterpolateTo(
Blend(zoom_, transform.zoom_, fraction));
}
-bool AnimatableTransform::EqualTo(const AnimatableValue* value) const {
- return transform_ == ToAnimatableTransform(value)->transform_;
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698