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

Unified Diff: Source/modules/indexeddb/IDBDatabase.h

Issue 1323323002: IndexedDB: Various C++11isms and cleanup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: True, false, whatever Created 5 years, 3 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/indexeddb/IDBDatabase.h
diff --git a/Source/modules/indexeddb/IDBDatabase.h b/Source/modules/indexeddb/IDBDatabase.h
index ce47117bf745602c0463984775df922efcb9fca9..297ece41c1eadb651a01a73361203f7e2cb84619 100644
--- a/Source/modules/indexeddb/IDBDatabase.h
+++ b/Source/modules/indexeddb/IDBDatabase.h
@@ -142,11 +142,10 @@ private:
IDBDatabaseMetadata m_metadata;
OwnPtr<WebIDBDatabase> m_backend;
Member<IDBTransaction> m_versionChangeTransaction;
- typedef HeapHashMap<int64_t, Member<IDBTransaction>> TransactionMap;
cmumford 2015/09/03 23:21:03 Thank you - I hate typedefs.
jsbell 2015/09/03 23:29:54 Check out the one for a function reference (?) in
- TransactionMap m_transactions;
+ HeapHashMap<int64_t, Member<IDBTransaction>> m_transactions;
- bool m_closePending;
- bool m_contextStopped;
+ bool m_closePending = false;
+ bool m_contextStopped = false;
// Keep track of the versionchange events waiting to be fired on this
// database so that we can cancel them if the database closes.

Powered by Google App Engine
This is Rietveld 408576698