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

Unified Diff: content/renderer/compositor_bindings/web_animation_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_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(),
« no previous file with comments | « content/child/assert_matching_enums.cc ('k') | content/renderer/compositor_bindings/web_compositor_support_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698