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

Unified Diff: third_party/WebKit/Source/core/animation/Animation.cpp

Issue 2869183002: Initial implementation of WorkletAnimation (Closed)
Patch Set: Use CheckCanStartAnimationOnCompositor Created 3 years, 6 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: third_party/WebKit/Source/core/animation/Animation.cpp
diff --git a/third_party/WebKit/Source/core/animation/Animation.cpp b/third_party/WebKit/Source/core/animation/Animation.cpp
index c404e3275ae1a879d292f9b06d148f807bfa0113..b882b301d5160c3333d810fdbbc816ada97453b9 100644
--- a/third_party/WebKit/Source/core/animation/Animation.cpp
+++ b/third_party/WebKit/Source/core/animation/Animation.cpp
@@ -868,7 +868,8 @@ void Animation::StartAnimationOnCompositor(
DCHECK_NE(compositor_group_, 0);
ToKeyframeEffectReadOnly(content_.Get())
->StartAnimationOnCompositor(compositor_group_, start_time, time_offset,
- playback_rate_);
+ playback_rate_,
+ compositor_player_->Player());
}
void Animation::SetCompositorPending(bool effect_changed) {

Powered by Google App Engine
This is Rietveld 408576698