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

Unified Diff: Source/modules/webdatabase/sqlite/SQLiteStatement.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
Index: Source/modules/webdatabase/sqlite/SQLiteStatement.h
diff --git a/Source/modules/webdatabase/sqlite/SQLiteStatement.h b/Source/modules/webdatabase/sqlite/SQLiteStatement.h
index 4fec5ccf5f6e2d32d12bbda8ae9a6416933d6729..2ee054165265a79242223f42d9c3467ee9a5c297 100644
--- a/Source/modules/webdatabase/sqlite/SQLiteStatement.h
+++ b/Source/modules/webdatabase/sqlite/SQLiteStatement.h
@@ -71,7 +71,7 @@ private:
SQLiteDatabase& m_database;
String m_query;
sqlite3_stmt* m_statement;
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
bool m_isPrepared;
#endif
};
« no previous file with comments | « Source/modules/webdatabase/SQLTransactionStateMachine.h ('k') | Source/modules/webdatabase/sqlite/SQLiteStatement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698