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

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

Issue 327323002: Start removing the double-negative !ASSERT_DISABLED (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/Database.cpp ('k') | Source/modules/webdatabase/DatabaseManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseManager.h
diff --git a/Source/modules/webdatabase/DatabaseManager.h b/Source/modules/webdatabase/DatabaseManager.h
index 391eecc6fc982504da45848ac2e7a141e72d12d8..6902a44d504523c6325b01a72cac9b7a0c1cc5eb 100644
--- a/Source/modules/webdatabase/DatabaseManager.h
+++ b/Source/modules/webdatabase/DatabaseManager.h
@@ -60,7 +60,7 @@ public:
void registerDatabaseContext(DatabaseContext*);
void unregisterDatabaseContext(DatabaseContext*);
-#if !ASSERT_DISABLED
+#if ASSERT_ENABLED
void didConstructDatabaseContext();
void didDestructDatabaseContext();
#else
@@ -106,7 +106,7 @@ private:
typedef HashMap<ExecutionContext*, RefPtr<DatabaseContext> > ContextMap;
#endif
ContextMap m_contextMap;
-#if !ASSERT_DISABLED
+#if ASSERT_ENABLED
int m_databaseContextRegisteredCount;
int m_databaseContextInstanceCount;
#endif
« no previous file with comments | « Source/modules/webdatabase/Database.cpp ('k') | Source/modules/webdatabase/DatabaseManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698