Index: third_party/WebKit/Source/core/animation/animatable/AnimatableVisibility.cpp |
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableVisibility.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatableVisibility.cpp |
index 0f7f049f573375005575da3dc68e8bafe4cd10b3..35c70842ae9f56d1f663ace82af43eb6f8a87c20 100644 |
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableVisibility.cpp |
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableVisibility.cpp |
@@ -32,27 +32,6 @@ |
namespace blink { |
-bool AnimatableVisibility::usesDefaultInterpolationWith( |
- const AnimatableValue* value) const { |
- EVisibility from = m_visibility; |
- EVisibility to = toAnimatableVisibility(value)->m_visibility; |
- return from != EVisibility::kVisible && to != EVisibility::kVisible; |
-} |
- |
-PassRefPtr<AnimatableValue> AnimatableVisibility::interpolateTo( |
- const AnimatableValue* value, |
- double fraction) const { |
- EVisibility from = m_visibility; |
- EVisibility to = toAnimatableVisibility(value)->m_visibility; |
- if (from != EVisibility::kVisible && to != EVisibility::kVisible) |
- return defaultInterpolateTo(this, value, fraction); |
- if (fraction <= 0) |
- return takeConstRef(this); |
- if (fraction >= 1) |
- return takeConstRef(value); |
- return takeConstRef(from == EVisibility::kVisible ? this : value); |
-} |
- |
bool AnimatableVisibility::equalTo(const AnimatableValue* value) const { |
return m_visibility == toAnimatableVisibility(value)->m_visibility; |
} |