Index: content/renderer/compositor_bindings/web_compositor_support_impl.cc |
diff --git a/content/renderer/compositor_bindings/web_compositor_support_impl.cc b/content/renderer/compositor_bindings/web_compositor_support_impl.cc |
index 0e4e6fa88f5af7b52191e4bedddd6f9949c08a33..19345811991e3f95b62d6798d558e60c22879ee4 100644 |
--- a/content/renderer/compositor_bindings/web_compositor_support_impl.cc |
+++ b/content/renderer/compositor_bindings/web_compositor_support_impl.cc |
@@ -40,9 +40,7 @@ using blink::WebScrollbar; |
using blink::WebScrollbarLayer; |
using blink::WebScrollbarThemeGeometry; |
using blink::WebScrollbarThemePainter; |
-#if WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED |
using blink::WebScrollOffsetAnimationCurve; |
-#endif |
using blink::WebSolidColorLayer; |
using blink::WebTransformAnimationCurve; |
using blink::WebTransformOperations; |
@@ -115,14 +113,12 @@ WebFloatAnimationCurve* WebCompositorSupportImpl::createFloatAnimationCurve() { |
return new WebFloatAnimationCurveImpl(); |
} |
-#if WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED |
WebScrollOffsetAnimationCurve* |
WebCompositorSupportImpl::createScrollOffsetAnimationCurve( |
blink::WebFloatPoint target_value, |
blink::WebAnimationCurve::TimingFunctionType timing_function) { |
return new WebScrollOffsetAnimationCurveImpl(target_value, timing_function); |
} |
-#endif |
WebTransformAnimationCurve* |
WebCompositorSupportImpl::createTransformAnimationCurve() { |