| Index: Source/platform/TaskSynchronizer.h
|
| diff --git a/Source/platform/TaskSynchronizer.h b/Source/platform/TaskSynchronizer.h
|
| index 1949498e5ae5ecc540b5606f158820c7d85a12b8..402587d32b1ab5730b5a4da51efc4358b28f59de 100644
|
| --- a/Source/platform/TaskSynchronizer.h
|
| +++ b/Source/platform/TaskSynchronizer.h
|
| @@ -48,7 +48,7 @@ public:
|
| // Called from a thread that executes the task.
|
| void taskCompleted();
|
|
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| bool hasCheckedForTermination() const { return m_hasCheckedForTermination; }
|
| void setHasCheckedForTermination() { m_hasCheckedForTermination = true; }
|
| #endif
|
| @@ -59,7 +59,7 @@ private:
|
| bool m_taskCompleted;
|
| Mutex m_synchronousMutex;
|
| ThreadCondition m_synchronousCondition;
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| bool m_hasCheckedForTermination;
|
| #endif
|
| };
|
|
|