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..229f5001701f003e959f5aff80d9aa8a30207f9d 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 { |
| +#if DCHECK_IS_ON() |
| ASSERT(m_thread == currentThread()); |
|
mstensho (USE GERRIT)
2016/11/18 08:45:54
Wouldn't it work without the #if if you just used
Alexander Alekseev
2016/11/18 22:32:14
Done.
|
| +#endif |
| return m_weakPtrFactory.hasWeakPtrs(); |
| } |