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

Unified Diff: content/renderer/compositor_bindings/web_compositor_support_impl.cc

Issue 383503003: Remove #ifs related to WebScrollOffsetAnimationCurve (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: 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() {

Powered by Google App Engine
This is Rietveld 408576698