Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1971)

Unified Diff: Source/platform/Supplementable.h

Issue 327323002: Start removing the double-negative !ASSERT_DISABLED (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/Supplementable.h
diff --git a/Source/platform/Supplementable.h b/Source/platform/Supplementable.h
index aca4d42f2166f75d3b90efcf8a73a94db0229594..b35b0123550932ce185295a82d1fde00db242b95 100644
--- a/Source/platform/Supplementable.h
+++ b/Source/platform/Supplementable.h
@@ -32,7 +32,7 @@
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
-#if !ASSERT_DISABLED
+#if ASSERT_ENABLED
#include "wtf/Threading.h"
#endif
@@ -180,7 +180,7 @@ public:
void reattachThread()
{
-#if !ASSERT_DISABLED
+#if ASSERT_ENABLED
m_threadId = currentThread();
#endif
}
@@ -199,7 +199,7 @@ private:
GC_PLUGIN_IGNORE("")
typename SupplementableTraits<T, isGarbageCollected>::SupplementMap m_supplements;
-#if !ASSERT_DISABLED
+#if ASSERT_ENABLED
protected:
SupplementableBase() : m_threadId(currentThread()) { }
« no previous file with comments | « Source/modules/webdatabase/DatabaseManager.cpp ('k') | Source/platform/audio/android/FFTFrameOpenMAXDLAndroid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698