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

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

Issue 2513893002: Make ifdefs consistent in WebKit/Source/core/ (Closed)
Patch Set: Fix build. Update after review. Created 4 years, 1 month 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/PersistentNode.h
diff --git a/third_party/WebKit/Source/platform/heap/PersistentNode.h b/third_party/WebKit/Source/platform/heap/PersistentNode.h
index ae2f68370704f448034d21e66c4c25474a897f5b..228106644cb2cf7d9d703429286535f9f5db1a27 100644
--- a/third_party/WebKit/Source/platform/heap/PersistentNode.h
+++ b/third_party/WebKit/Source/platform/heap/PersistentNode.h
@@ -130,7 +130,7 @@ class PLATFORM_EXPORT PersistentRegion final {
}
void freePersistentNode(PersistentNode* persistentNode) {
- ASSERT(m_persistentCount > 0);
+ DCHECK_GT(m_persistentCount, 0);
persistentNode->setFreeListNext(m_freeListHead);
m_freeListHead = persistentNode;
#if DCHECK_IS_ON()

Powered by Google App Engine
This is Rietveld 408576698