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

Unified Diff: Source/wtf/ThreadRestrictionVerifier.h

Issue 394353002: Replace tests of ASSERT_ENABLED with ENABLE(ASSERT). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/wtf/ThreadRestrictionVerifier.h
diff --git a/Source/wtf/ThreadRestrictionVerifier.h b/Source/wtf/ThreadRestrictionVerifier.h
index e62261ca7429c3b954d8402fcfb28242e6821a0e..b6ba662be9107572cfce510c3dfdbf079da07227 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_ENABLED
+#if ENABLE(ASSERT)
bool previouslyShared = m_shared;
#endif
m_shared = shared;

Powered by Google App Engine
This is Rietveld 408576698