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

Unified Diff: Source/wtf/TerminatedArrayBuilder.h

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/wtf/SizeLimits.cpp ('k') | Source/wtf/ThreadRestrictionVerifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/TerminatedArrayBuilder.h
diff --git a/Source/wtf/TerminatedArrayBuilder.h b/Source/wtf/TerminatedArrayBuilder.h
index 2263137968a672427b91b64bfb872a4d676787ea..e15c56c7c20d284f0e12c9875a1d58fd7c14371d 100644
--- a/Source/wtf/TerminatedArrayBuilder.h
+++ b/Source/wtf/TerminatedArrayBuilder.h
@@ -55,7 +55,7 @@ public:
}
private:
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
void assertValid()
{
for (size_t i = 0; i < m_count; ++i) {
« no previous file with comments | « Source/wtf/SizeLimits.cpp ('k') | Source/wtf/ThreadRestrictionVerifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698