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

Unified Diff: third_party/WebKit/Source/platform/heap/ThreadState.cpp

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/ThreadState.cpp
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.cpp b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
index 00a5d0ef3cb3cc887e8c56ce79292291e1837fee..d9cf18fc6c2df33ef752494f5c274cc5c43534a2 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
@@ -1242,7 +1242,7 @@ void ThreadState::prepareForThreadStateTermination() {
m_arenas[i]->prepareHeapForTermination();
}
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
BasePage* ThreadState::findPageFromAddress(Address address) {
for (int i = 0; i < BlinkGC::NumberOfArenas; ++i) {
if (BasePage* page = m_arenas[i]->findPageFromAddress(address))
« no previous file with comments | « third_party/WebKit/Source/platform/heap/ThreadState.h ('k') | third_party/WebKit/Source/platform/heap/TraceTraits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698