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

Unified Diff: Source/modules/indexeddb/IDBKeyPath.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/modules/indexeddb/IDBCursor.cpp ('k') | Source/modules/indexeddb/IDBRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBKeyPath.cpp
diff --git a/Source/modules/indexeddb/IDBKeyPath.cpp b/Source/modules/indexeddb/IDBKeyPath.cpp
index 815ecc9cc4b71ebfa8ecb724993f44fd5c603b4f..d85d24e1d57e97754f93c03a919b37e3e4d6dcc2 100644
--- a/Source/modules/indexeddb/IDBKeyPath.cpp
+++ b/Source/modules/indexeddb/IDBKeyPath.cpp
@@ -204,7 +204,7 @@ IDBKeyPath::IDBKeyPath(const Vector<String>& array)
: m_type(ArrayType)
, m_array(array)
{
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
for (size_t i = 0; i < m_array.size(); ++i)
ASSERT(!m_array[i].isNull());
#endif
« no previous file with comments | « Source/modules/indexeddb/IDBCursor.cpp ('k') | Source/modules/indexeddb/IDBRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698