| 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 b985f3811dc484b5779b5eee135a505d21c904f8..3c2e932ff9aca1f074b548ef7b4e5e9f3c846b05 100644
|
| --- a/third_party/WebKit/Source/platform/Timer.cpp
|
| +++ b/third_party/WebKit/Source/platform/Timer.cpp
|
| @@ -117,7 +117,9 @@ void TimerBase::runInternal()
|
| return;
|
|
|
| TRACE_EVENT0("blink", "TimerBase::run");
|
| - ASSERT_WITH_MESSAGE(m_thread == currentThread(), "Timer posted by %s %s was run on a different thread", m_location.functionName(), m_location.fileName());
|
| +#if DCHECK_IS_ON()
|
| + DCHECK_EQ(m_thread, currentThread()) << "Timer posted by " << m_location.functionName() << " " << m_location.fileName() << " was run on a different thread";
|
| +#endif
|
| TRACE_EVENT_SET_SAMPLING_STATE("blink", "BlinkInternal");
|
|
|
| if (m_repeatInterval) {
|
|
|