Chromium Code Reviews| Index: third_party/WebKit/Source/wtf/ThreadingPrimitives.h |
| diff --git a/third_party/WebKit/Source/wtf/ThreadingPrimitives.h b/third_party/WebKit/Source/wtf/ThreadingPrimitives.h |
| index f5b8d75bed6e4feb7f5f369c469cbf3ebd21357c..582b6f7aeb96af6cd5f3b5a52befa34bcf23c10d 100644 |
| --- a/third_party/WebKit/Source/wtf/ThreadingPrimitives.h |
| +++ b/third_party/WebKit/Source/wtf/ThreadingPrimitives.h |
| @@ -50,9 +50,7 @@ namespace WTF { |
| #if OS(POSIX) |
| struct PlatformMutex { |
| pthread_mutex_t m_internalMutex; |
| -#if ENABLE(ASSERT) |
| size_t m_recursionCount; |
|
esprehn
2016/08/05 23:18:56
I don't think we want to do this, it makes all of
|
| -#endif |
| }; |
| typedef pthread_cond_t PlatformCondition; |
| #elif OS(WIN) |
| @@ -83,9 +81,7 @@ public: |
| void lock(); |
| void unlock(); |
| -#if ENABLE(ASSERT) |
| bool locked() { return m_mutex.m_recursionCount > 0; } |
| -#endif |
| public: |
| PlatformMutex& impl() { return m_mutex; } |