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

Unified Diff: third_party/WebKit/Source/platform/Timer.cpp

Issue 2388303002: reflow comments in platform/ (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
« no previous file with comments | « third_party/WebKit/Source/platform/Timer.h ('k') | third_party/WebKit/Source/platform/TimerTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/Timer.cpp
diff --git a/third_party/WebKit/Source/platform/Timer.cpp b/third_party/WebKit/Source/platform/Timer.cpp
index 493b5121240ea2dc6d553f8ca1e9bf249e24ebd1..27676ac47b196f84678c9a35bb4bf3e5a881951d 100644
--- a/third_party/WebKit/Source/platform/Timer.cpp
+++ b/third_party/WebKit/Source/platform/Timer.cpp
@@ -133,10 +133,10 @@ void TimerBase::runInternal() {
if (m_repeatInterval) {
double now = timerMonotonicallyIncreasingTime();
- // This computation should be drift free, and it will cope if we miss a beat,
- // which can easily happen if the thread is busy. It will also cope if we get
- // called slightly before m_unalignedNextFireTime, which can happen due to lack
- // of timer precision.
+ // This computation should be drift free, and it will cope if we miss a
+ // beat, which can easily happen if the thread is busy. It will also cope
+ // if we get called slightly before m_unalignedNextFireTime, which can
+ // happen due to lack of timer precision.
double intervalToNextFireTime =
m_repeatInterval - fmod(now - m_nextFireTime, m_repeatInterval);
setNextFireTime(timerMonotonicallyIncreasingTime(), intervalToNextFireTime);
« no previous file with comments | « third_party/WebKit/Source/platform/Timer.h ('k') | third_party/WebKit/Source/platform/TimerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698