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

Unified Diff: Source/core/animation/DocumentTimeline.h

Issue 46043014: Web Animations CSS: Unfreeze AnimationClock if sampling timelines does not trigger style recalc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reinstate assert 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/animation/DocumentTimeline.h
diff --git a/Source/core/animation/DocumentTimeline.h b/Source/core/animation/DocumentTimeline.h
index 21bfc6fe37add68c734e1bb124c8b6127314d9ea..e48536e18ea0d1fb5b9a825c08f956d5bce73a16 100644
--- a/Source/core/animation/DocumentTimeline.h
+++ b/Source/core/animation/DocumentTimeline.h
@@ -60,7 +60,8 @@ public:
};
static PassRefPtr<DocumentTimeline> create(Document*, PassOwnPtr<PlatformTiming> = nullptr);
- void serviceAnimations(double);
+ // Returns whether style recalc was triggered.
+ bool serviceAnimations();
PassRefPtr<Player> play(TimedItem*);
// Called from setReadyState() in Document.cpp to set m_zeroTime to
// performance.timing.domInteractive

Powered by Google App Engine
This is Rietveld 408576698