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

Unified Diff: Source/modules/webdatabase/DatabaseManager.h

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed config.gni. Minor cleanups. 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/DatabaseManager.h
diff --git a/Source/modules/webdatabase/DatabaseManager.h b/Source/modules/webdatabase/DatabaseManager.h
index eb5e7712514ef452cc70ce830cd534b579307032..0cd4a2dc01c687ef30eae8a2b25100e107031277 100644
--- a/Source/modules/webdatabase/DatabaseManager.h
+++ b/Source/modules/webdatabase/DatabaseManager.h
@@ -61,7 +61,7 @@ public:
void registerDatabaseContext(DatabaseContext*);
void unregisterDatabaseContext(DatabaseContext*);
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
void didConstructDatabaseContext();
void didDestructDatabaseContext();
#else
@@ -107,7 +107,7 @@ private:
typedef HashMap<ExecutionContext*, RefPtr<DatabaseContext> > ContextMap;
#endif
ContextMap m_contextMap;
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
int m_databaseContextRegisteredCount;
int m_databaseContextInstanceCount;
#endif

Powered by Google App Engine
This is Rietveld 408576698