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

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

Issue 1854423002: ASSERT -> {DCHECK|DCHECK_XX}, ENABLE(ASSERT) -> DCHECK_IS_ON() in dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark svg/as-image/svg-nested.html crash on win Created 4 years, 8 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/core/dom/ActiveDOMObject.h
diff --git a/third_party/WebKit/Source/core/dom/ActiveDOMObject.h b/third_party/WebKit/Source/core/dom/ActiveDOMObject.h
index d916f25b303888012dd00fd32e51d7b6221b575c..bc898e8518d13e643dea4f14774b2683d08a279a 100644
--- a/third_party/WebKit/Source/core/dom/ActiveDOMObject.h
+++ b/third_party/WebKit/Source/core/dom/ActiveDOMObject.h
@@ -40,7 +40,7 @@ public:
// suspendIfNeeded() should be called exactly once after object construction to synchronize
// the suspend state with that in ExecutionContext.
void suspendIfNeeded();
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
bool suspendIfNeededCalled() const { return m_suspendIfNeededCalled; }
#endif
@@ -56,7 +56,7 @@ protected:
virtual ~ActiveDOMObject();
private:
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
bool m_suspendIfNeededCalled;
#endif
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/AXObjectCache.cpp ('k') | third_party/WebKit/Source/core/dom/ActiveDOMObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698