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

Unified Diff: Source/core/dom/TreeShared.h

Issue 216313002: Introduce ASSERT_ENABLED macro. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | Source/wtf/Assertions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/TreeShared.h
diff --git a/Source/core/dom/TreeShared.h b/Source/core/dom/TreeShared.h
index 8637dc631d0a927ec5afc6dffc3d473f41ed666f..d15eed69036467d15abee10d774f977b2b28750b 100644
--- a/Source/core/dom/TreeShared.h
+++ b/Source/core/dom/TreeShared.h
@@ -39,7 +39,7 @@ protected:
: m_refCount(1)
#if SECURITY_ASSERT_ENABLED
, m_deletionHasBegun(false)
-#if !ASSERT_DISABLED
+#if ASSERT_ENABLED
, m_inRemovedLastRefFunction(false)
, m_adoptionIsRequired(true)
#endif
@@ -93,7 +93,7 @@ private:
#if SECURITY_ASSERT_ENABLED
public:
bool m_deletionHasBegun;
-#if !ASSERT_DISABLED
+#if ASSERT_ENABLED
bool m_inRemovedLastRefFunction;
private:
« no previous file with comments | « no previous file | Source/wtf/Assertions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698