Chromium Code Reviews| 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..b42a0bfad6032cb754dac859e503136205fd463c 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(m_thread == currentThread()); |
|
Yuta Kitamura
2016/11/21 09:26:12
Use DCHECK_EQ.
Alexander Alekseev
2016/11/23 09:20:30
Done.
|
| +#endif |
| return m_weakPtrFactory.hasWeakPtrs(); |
| } |