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

Unified Diff: sky/viewer/cc/web_animation_impl.cc

Issue 720713003: Remove WebScroll* (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/viewer/cc/scrollbar_impl.cc ('k') | sky/viewer/cc/web_compositor_support_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/cc/web_animation_impl.cc
diff --git a/sky/viewer/cc/web_animation_impl.cc b/sky/viewer/cc/web_animation_impl.cc
index cd1f9d7e19cfb5148cf38c696c5a4edde83aaf99..d056b3bded85fc24b644bfef4820419eb433d45e 100644
--- a/sky/viewer/cc/web_animation_impl.cc
+++ b/sky/viewer/cc/web_animation_impl.cc
@@ -9,7 +9,6 @@
#include "cc/animation/animation_id_provider.h"
#include "sky/viewer/cc/web_filter_animation_curve_impl.h"
#include "sky/viewer/cc/web_float_animation_curve_impl.h"
-#include "sky/viewer/cc/web_scroll_offset_animation_curve_impl.h"
#include "sky/viewer/cc/web_transform_animation_curve_impl.h"
#include "sky/engine/public/platform/WebCompositorAnimationCurve.h"
@@ -52,12 +51,6 @@ WebCompositorAnimationImpl::WebCompositorAnimationImpl(
curve = filter_curve_impl->CloneToAnimationCurve();
break;
}
- case WebCompositorAnimationCurve::AnimationCurveTypeScrollOffset: {
- const WebScrollOffsetAnimationCurveImpl* scroll_curve_impl =
- static_cast<const WebScrollOffsetAnimationCurveImpl*>(&web_curve);
- curve = scroll_curve_impl->CloneToAnimationCurve();
- break;
- }
}
animation_ = Animation::Create(
curve.Pass(),
« no previous file with comments | « sky/viewer/cc/scrollbar_impl.cc ('k') | sky/viewer/cc/web_compositor_support_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698