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

Unified Diff: Source/core/dom/Document.cpp

Issue 23874019: Web Animations CSS: Start running animations on the compositor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 417342ac3a4ab7bcfb1bfccdb6035292b1786e83..85107180c83d3f1209b81447a0942c2971e75bde 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -1776,6 +1776,8 @@ void Document::updateStyleIfNeeded()
AnimationUpdateBlock animationUpdateBlock(m_frame ? &m_frame->animation() : 0);
recalcStyle(NoChange);
m_animationClock->unfreeze();
+ if (RuntimeEnabledFeatures::webAnimationsEnabled())
+ cssPendingAnimations().startPendingAnimations();
}
void Document::updateStyleForNodeIfNeeded(Node* node)

Powered by Google App Engine
This is Rietveld 408576698