| Index: third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.cpp b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| index eb572eff34db569afc2c8edf7ebc06ccab518874..15e50d128790eb77e981892dafd3fbe93ceba5d9 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| @@ -645,8 +645,8 @@ void WorkerThread::setExitCode(const MutexLocker& lock, ExitCode exitCode) {
|
| }
|
|
|
| bool WorkerThread::isThreadStateMutexLocked(const MutexLocker& /* unused */) {
|
| -#if ENABLE(ASSERT)
|
| - // Mutex::locked() is available only if ENABLE(ASSERT) is true.
|
| +#if DCHECK_IS_ON()
|
| + // Mutex::locked() is available only if DCHECK_IS_ON() is true.
|
| return m_threadStateMutex.locked();
|
| #else
|
| // Otherwise, believe the given MutexLocker holds |m_threadStateMutex|.
|
|
|