| Index: third_party/WebKit/Source/platform/Timer.h
|
| diff --git a/third_party/WebKit/Source/platform/Timer.h b/third_party/WebKit/Source/platform/Timer.h
|
| index 2011a145dd915fa79a8812fcf67ed83a4d346f96..f47850006eee7b95246b7f55f44dde74a7650964 100644
|
| --- a/third_party/WebKit/Source/platform/Timer.h
|
| +++ b/third_party/WebKit/Source/platform/Timer.h
|
| @@ -196,7 +196,9 @@ class UnthrottledThreadTimer : public TaskRunnerTimer<TimerFiredClass> {
|
|
|
| NO_SANITIZE_ADDRESS
|
| inline bool TimerBase::isActive() const {
|
| - ASSERT(m_thread == currentThread());
|
| +#if DCHECK_IS_ON()
|
| + DCHECK_EQ(m_thread, currentThread());
|
| +#endif
|
| return m_weakPtrFactory.hasWeakPtrs();
|
| }
|
|
|
|
|