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

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

Issue 172003002: Web Animations: Don't mark players as outdated upon currentTime access (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@currentplayers
Patch Set: Created 6 years, 10 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: Source/core/animation/Player.h
diff --git a/Source/core/animation/Player.h b/Source/core/animation/Player.h
index bd55fef253f04d3769890a722b570bda6d878e38..d021ccdf897ec76136dd4c25b8b5679d1c8fa226 100644
--- a/Source/core/animation/Player.h
+++ b/Source/core/animation/Player.h
@@ -102,8 +102,8 @@ private:
bool limited(double currentTime) const;
double currentTimeWithoutLag() const;
double currentTimeWithLag() const;
- void updateTimingState(double newCurrentTime);
- void updateCurrentTimingState();
+ void updateTimingState(double newCurrentTime, bool shouldSetOutdated = true);
+ void updateCurrentTimingState(bool shouldSetOutdated = true);
double m_playbackRate;
double m_startTime;

Powered by Google App Engine
This is Rietveld 408576698