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

Unified Diff: cc/blink/web_compositor_animation_player_impl.cc

Issue 1534813004: Run smooth scroll animations on the compositor when possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 years 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 | « cc/blink/web_compositor_animation_player_impl.h ('k') | cc/blink/web_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_compositor_animation_player_impl.cc
diff --git a/cc/blink/web_compositor_animation_player_impl.cc b/cc/blink/web_compositor_animation_player_impl.cc
index fd146de856fc4ae3d0d41c969ce9bcc23aaa1282..f0855c846e7e95763c1a69fa05c512697345be52 100644
--- a/cc/blink/web_compositor_animation_player_impl.cc
+++ b/cc/blink/web_compositor_animation_player_impl.cc
@@ -63,4 +63,8 @@ void WebCompositorAnimationPlayerImpl::pauseAnimation(int animation_id,
animation_player_->PauseAnimation(animation_id, time_offset);
}
+void WebCompositorAnimationPlayerImpl::abortAnimation(int animation_id) {
+ animation_player_->AbortAnimation(animation_id);
+}
+
} // namespace cc_blink
« no previous file with comments | « cc/blink/web_compositor_animation_player_impl.h ('k') | cc/blink/web_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698