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

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

Issue 2384263003: Reflow comments in core/animation and subdirs (Closed)
Patch Set: Created 4 years, 2 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/Animation.cpp
diff --git a/third_party/WebKit/Source/core/animation/Animation.cpp b/third_party/WebKit/Source/core/animation/Animation.cpp
index 69960116250da634b78050efb99052f055f06262..06bdc8267f8cc1d9015035b3e6159ce21d4ebe15 100644
--- a/third_party/WebKit/Source/core/animation/Animation.cpp
+++ b/third_party/WebKit/Source/core/animation/Animation.cpp
@@ -379,8 +379,9 @@ void Animation::notifyStartTime(double timelineTime) {
currentTimeInternal() / -m_playbackRate);
}
- // FIXME: This avoids marking this animation as outdated needlessly when a start time
- // is notified, but we should refactor how outdating works to avoid this.
+ // FIXME: This avoids marking this animation as outdated needlessly when a
+ // start time is notified, but we should refactor how outdating works to
+ // avoid this.
clearOutdated();
m_currentTimePending = false;
}
@@ -896,7 +897,8 @@ void Animation::endUpdatingState() {
void Animation::createCompositorPlayer() {
if (Platform::current()->isThreadedAnimationEnabled() &&
!m_compositorPlayer) {
- // We only need to pre-finalize if we are running animations on the compositor.
+ // We only need to pre-finalize if we are running animations on the
+ // compositor.
if (!m_preFinalizerRegistered) {
ThreadState::current()->registerPreFinalizer(this);
m_preFinalizerRegistered = true;

Powered by Google App Engine
This is Rietveld 408576698