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

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

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed config.gni. Minor cleanups. 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/core/dom/ActiveDOMObject.h
diff --git a/Source/core/dom/ActiveDOMObject.h b/Source/core/dom/ActiveDOMObject.h
index e35637c4d4c2d5d316708967744f2bd1a2f5743d..082788b0c6e8194ddc42711dda8ba4fe3c8fa017 100644
--- a/Source/core/dom/ActiveDOMObject.h
+++ b/Source/core/dom/ActiveDOMObject.h
@@ -39,7 +39,7 @@ public:
// suspendIfNeeded() should be called exactly once after object construction to synchronize
// the suspend state with that in ExecutionContext.
void suspendIfNeeded();
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
bool suspendIfNeededCalled() const { return m_suspendIfNeededCalled; }
#endif
@@ -77,7 +77,7 @@ protected:
private:
unsigned m_pendingActivityCount;
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
bool m_suspendIfNeededCalled;
#endif
};

Powered by Google App Engine
This is Rietveld 408576698