Index: Source/wtf/ThreadRestrictionVerifier.h |
diff --git a/Source/wtf/ThreadRestrictionVerifier.h b/Source/wtf/ThreadRestrictionVerifier.h |
index 3204bad53d8d42cdd01d75d3453eca2b4529cb66..e62261ca7429c3b954d8402fcfb28242e6821a0e 100644 |
--- a/Source/wtf/ThreadRestrictionVerifier.h |
+++ b/Source/wtf/ThreadRestrictionVerifier.h |
@@ -53,7 +53,7 @@ public: |
// Indicates that the object may (or may not) be owned by more than one place. |
void setShared(bool shared) |
{ |
-#if !ASSERT_DISABLED |
+#if ASSERT_ENABLED |
bool previouslyShared = m_shared; |
#endif |
m_shared = shared; |