Chromium Code Reviews| Index: Source/platform/Timer.cpp |
| diff --git a/Source/platform/Timer.cpp b/Source/platform/Timer.cpp |
| index c6b58b9d376d0c356453515f1b98e95e3b0a9a16..b3975a93f4e20d036857be4f50d01cc3909e24f1 100644 |
| --- a/Source/platform/Timer.cpp |
| +++ b/Source/platform/Timer.cpp |
| @@ -212,6 +212,16 @@ void TimerBase::start(double nextFireInterval, double repeatInterval, const Trac |
| setNextFireTime(monotonicallyIncreasingTime() + nextFireInterval); |
| } |
| +void TimerBase::startExact(double nextFireInterval, double repeatInterval, const TraceLocation& caller) |
|
tyoshino (SeeGerritForStatus)
2014/05/09 08:04:36
s/nextFireInterval/nextFireTime/
|
| +{ |
| + ASSERT(m_thread == currentThread()); |
| + |
| + m_location = caller; |
| + m_repeatInterval = repeatInterval; |
| + setNextFireTime(nextFireInterval); |
| +} |
| + |
| + |
|
tyoshino (SeeGerritForStatus)
2014/05/09 08:04:36
single blank line
|
| void TimerBase::stop() |
| { |
| ASSERT(m_thread == currentThread()); |