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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp

Issue 1973083002: Use element id's for animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated CompositorMutableStateTest. Created 4 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/platform/scroll/ScrollAnimator.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp b/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp
index 1f24fca4ce78ee500c163adfd50963bd42e307fe..b62005b638e182de8ebf5a0c3b6a78235cb89a30 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp
@@ -360,7 +360,7 @@ void ScrollAnimator::updateCompositorAnimations()
}
if (m_runState == RunState::WaitingToSendToCompositor) {
- if (!m_compositorAnimationAttachedToLayerId)
+ if (!m_compositorAnimationAttachedToElementId)
reattachCompositorPlayerIfNeeded(getScrollableArea()->compositorAnimationTimeline());
if (!m_animationCurve)

Powered by Google App Engine
This is Rietveld 408576698