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

Unified Diff: Source/platform/heap/HeapTest.cpp

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. 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
« no previous file with comments | « Source/platform/heap/Heap.cpp ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/HeapTest.cpp
diff --git a/Source/platform/heap/HeapTest.cpp b/Source/platform/heap/HeapTest.cpp
index 80478eef5f397eaf714ca66ac902a981f2b39294..2a859aa7fe07fa6acae5ccea4c175cb7a54d29a8 100644
--- a/Source/platform/heap/HeapTest.cpp
+++ b/Source/platform/heap/HeapTest.cpp
@@ -276,7 +276,7 @@ public:
virtual void registerWeakMembers(const void*, const void*, WeakPointerCallback) OVERRIDE { }
virtual void registerWeakTable(const void*, EphemeronCallback, EphemeronCallback) OVERRIDE { }
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
virtual bool weakTableRegistered(const void*) OVERRIDE { return false; }
#endif
virtual void registerWeakCell(void**, WeakPointerCallback) OVERRIDE { }
« no previous file with comments | « Source/platform/heap/Heap.cpp ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698