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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.h

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: m_domTreeVersion initialization Created 3 years, 11 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: third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.h
diff --git a/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.h b/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.h
index 6ae764adfe7c6762aa3bc833b0e7086645759c8b..77305eb956aa37104d2341875ba95afa84ff3668 100644
--- a/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.h
+++ b/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.h
@@ -77,8 +77,8 @@ class SQLiteStatement {
SQLiteDatabase& m_database;
String m_query;
sqlite3_stmt* m_statement;
-#if ENABLE(ASSERT)
- bool m_isPrepared;
+#if DCHECK_IS_ON()
+ bool m_isPrepared = false;
#endif
};

Powered by Google App Engine
This is Rietveld 408576698