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

Unified Diff: third_party/WebKit/Source/platform/heap/CallbackStack.h

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: m_domTreeVersion initialization Created 3 years, 11 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: third_party/WebKit/Source/platform/heap/CallbackStack.h
diff --git a/third_party/WebKit/Source/platform/heap/CallbackStack.h b/third_party/WebKit/Source/platform/heap/CallbackStack.h
index 377c6214e3da00934985d4b6d45c775908f2e14b..b4dfd3a61c88c29bdd79caed7626d46f110a8b53 100644
--- a/third_party/WebKit/Source/platform/heap/CallbackStack.h
+++ b/third_party/WebKit/Source/platform/heap/CallbackStack.h
@@ -52,7 +52,7 @@ class CallbackStack final {
void invokeEphemeronCallbacks(Visitor*);
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
bool hasCallbackForObject(const void*);
#endif
bool hasJustOneBlock() const;
@@ -68,7 +68,7 @@ class CallbackStack final {
explicit Block(Block* next);
~Block();
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
void clear();
#endif
Block* next() const { return m_next; }
@@ -92,7 +92,7 @@ class CallbackStack final {
void invokeEphemeronCallbacks(Visitor*);
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
bool hasCallbackForObject(const void*);
#endif

Powered by Google App Engine
This is Rietveld 408576698