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

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

Issue 2361733004: Adding @keyframes rules only affects TreeScope plus host. (Closed)
Patch Set: Moved scope check to CSSAnimations Created 4 years, 3 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/AnimationTimeline.cpp
diff --git a/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp b/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
index b2c2c6af551f60d2137b5afc875f686e7bd461d3..52101b6d4837401a7c72634687d58b1e70610be3 100644
--- a/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
+++ b/third_party/WebKit/Source/core/animation/AnimationTimeline.cpp
@@ -331,10 +331,10 @@ double AnimationTimeline::playbackRate() const
return m_playbackRate;
}
-void AnimationTimeline::invalidateKeyframeEffects()
+void AnimationTimeline::invalidateKeyframeEffects(const TreeScope& treeScope)
{
for (const auto& animation : m_animations)
- animation->invalidateKeyframeEffect();
+ animation->invalidateKeyframeEffect(treeScope);
}
DEFINE_TRACE(AnimationTimeline)

Powered by Google App Engine
This is Rietveld 408576698