Chromium Code Reviews| Index: third_party/WebKit/Source/wtf/Threading.h |
| diff --git a/third_party/WebKit/Source/wtf/Threading.h b/third_party/WebKit/Source/wtf/Threading.h |
| index ffe95e6ca2ed435983ff0e16f7bb671007cb767f..7ad57e1f891037f32f720bc35985b0082bfe652a 100644 |
| --- a/third_party/WebKit/Source/wtf/Threading.h |
| +++ b/third_party/WebKit/Source/wtf/Threading.h |
| @@ -65,11 +65,11 @@ WTF_EXPORT ThreadIdentifier currentThread(); |
| WTF_EXPORT void lockAtomicallyInitializedStaticMutex(); |
| WTF_EXPORT void unlockAtomicallyInitializedStaticMutex(); |
| -#if ENABLE(ASSERT) |
| +// Empty implementations of these functions are defined when !ENABLE(ASSERT) so |
| +// they can be used within DCHECKs. |
|
kinuko
2016/11/09 03:56:37
The empty impls don't really make sense, I might j
Charlie Harrison
2016/11/09 15:31:39
I agree with you. Changed to be a comment.
|
| WTF_EXPORT bool isAtomicallyInitializedStaticMutexLockHeld(); |
| WTF_EXPORT bool isBeforeThreadCreated(); |
| WTF_EXPORT void willCreateThread(); |
| -#endif |
| } // namespace WTF |