Index: content/renderer/compositor_bindings/web_animation_impl.cc |
diff --git a/content/renderer/compositor_bindings/web_animation_impl.cc b/content/renderer/compositor_bindings/web_animation_impl.cc |
index 832aa6e3d3187cc483ea4808ae44a759153a50ba..6cec7ae034a315439fedaa9c3819fd179f76b106 100644 |
--- a/content/renderer/compositor_bindings/web_animation_impl.cc |
+++ b/content/renderer/compositor_bindings/web_animation_impl.cc |
@@ -52,14 +52,12 @@ WebAnimationImpl::WebAnimationImpl(const WebAnimationCurve& web_curve, |
curve = filter_curve_impl->CloneToAnimationCurve(); |
break; |
} |
-#if WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED |
case WebAnimationCurve::AnimationCurveTypeScrollOffset: { |
const WebScrollOffsetAnimationCurveImpl* scroll_curve_impl = |
static_cast<const WebScrollOffsetAnimationCurveImpl*>(&web_curve); |
curve = scroll_curve_impl->CloneToAnimationCurve(); |
break; |
} |
-#endif |
} |
animation_ = Animation::Create( |
curve.Pass(), |