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

Unified Diff: Source/modules/webdatabase/DatabaseThread.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/webdatabase/DatabaseTask.h ('k') | Source/modules/webdatabase/SQLTransactionStateMachine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseThread.cpp
diff --git a/Source/modules/webdatabase/DatabaseThread.cpp b/Source/modules/webdatabase/DatabaseThread.cpp
index d57ce51a9fd3bdc949e9b9465989198ea663e622..4c0503ba037f5996057532a50c16b7c4cda44ee3 100644
--- a/Source/modules/webdatabase/DatabaseThread.cpp
+++ b/Source/modules/webdatabase/DatabaseThread.cpp
@@ -97,7 +97,7 @@ void DatabaseThread::requestTermination(TaskSynchronizer *cleanupSync)
bool DatabaseThread::terminationRequested(TaskSynchronizer* taskSynchronizer) const
{
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
if (taskSynchronizer)
taskSynchronizer->setHasCheckedForTermination();
#endif
« no previous file with comments | « Source/modules/webdatabase/DatabaseTask.h ('k') | Source/modules/webdatabase/SQLTransactionStateMachine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698