| 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 18202fe630183598c3b5d0f50fda86782a8d6ca0..067e921b26235aa4101ed810c882dabcb8424550 100644
|
| --- a/third_party/WebKit/Source/platform/Timer.cpp
|
| +++ b/third_party/WebKit/Source/platform/Timer.cpp
|
| @@ -58,7 +58,9 @@ TimerBase::~TimerBase() {
|
| void TimerBase::start(double nextFireInterval,
|
| double repeatInterval,
|
| const WebTraceLocation& caller) {
|
| +#if DCHECK_IS_ON()
|
| ASSERT(m_thread == currentThread());
|
| +#endif
|
|
|
| m_location = caller;
|
| m_repeatInterval = repeatInterval;
|
| @@ -66,7 +68,9 @@ void TimerBase::start(double nextFireInterval,
|
| }
|
|
|
| void TimerBase::stop() {
|
| +#if DCHECK_IS_ON()
|
| ASSERT(m_thread == currentThread());
|
| +#endif
|
|
|
| m_repeatInterval = 0;
|
| m_nextFireTime = 0;
|
| @@ -96,7 +100,9 @@ WebTaskRunner* TimerBase::timerTaskRunner() const {
|
| }
|
|
|
| void TimerBase::setNextFireTime(double now, double delay) {
|
| +#if DCHECK_IS_ON()
|
| ASSERT(m_thread == currentThread());
|
| +#endif
|
|
|
| double newTime = now + delay;
|
|
|
|
|