Index: cc/blink/web_animation_impl.cc |
diff --git a/cc/blink/web_animation_impl.cc b/cc/blink/web_animation_impl.cc |
index 282b4709ad487ee0bf335866c3161df205c8ed67..1f19937c15bc305dfaa2f8ddb60918b1ba4816d2 100644 |
--- a/cc/blink/web_animation_impl.cc |
+++ b/cc/blink/web_animation_impl.cc |
@@ -114,7 +114,6 @@ void WebCompositorAnimationImpl::setTimeOffset(double monotonic_time) { |
animation_->set_time_offset(base::TimeDelta::FromSecondsD(monotonic_time)); |
} |
-#if WEB_ANIMATION_SUPPORTS_FULL_DIRECTION |
blink::WebCompositorAnimation::Direction WebCompositorAnimationImpl::direction() |
const { |
switch (animation_->direction()) { |
@@ -148,18 +147,6 @@ void WebCompositorAnimationImpl::setDirection(Direction direction) { |
break; |
} |
} |
-#else |
-bool WebCompositorAnimationImpl::alternatesDirection() const { |
- return animation_->direction() == cc::Animation::Alternate; |
-} |
- |
-void WebCompositorAnimationImpl::setAlternatesDirection(bool alternates) { |
- if (alternates) |
- animation_->set_direction(cc::Animation::Alternate); |
- else |
- animation_->set_direction(cc::Animation::Normal); |
-} |
-#endif |
double WebCompositorAnimationImpl::playbackRate() const { |
return animation_->playback_rate(); |