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

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

Issue 201083003: Oilpan: Prepare to move DatabaseThread and SQLTransactionCoordinator to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/SQLTransactionCoordinator.h
diff --git a/Source/modules/webdatabase/SQLTransactionCoordinator.h b/Source/modules/webdatabase/SQLTransactionCoordinator.h
index f783508f05e9e36203eba65fc56564de286233fb..fe8ddf289da7169ebbceda49263b6ca08b0266c1 100644
--- a/Source/modules/webdatabase/SQLTransactionCoordinator.h
+++ b/Source/modules/webdatabase/SQLTransactionCoordinator.h
@@ -43,10 +43,12 @@ namespace WebCore {
class SQLTransactionBackend;
-class SQLTransactionCoordinator {
- WTF_MAKE_NONCOPYABLE(SQLTransactionCoordinator); WTF_MAKE_FAST_ALLOCATED;
+class SQLTransactionCoordinator : public NoBaseWillBeGarbageCollected<SQLTransactionCoordinator> {
+ WTF_MAKE_NONCOPYABLE(SQLTransactionCoordinator);
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
SQLTransactionCoordinator();
+ void trace(Visitor*);
void acquireLock(SQLTransactionBackend*);
void releaseLock(SQLTransactionBackend*);
void shutdown();
@@ -66,7 +68,7 @@ private:
ALLOW_ONLY_INLINE_ALLOCATION();
};
// Maps database names to information about pending transactions
- typedef WillBePersistentHeapHashMap<String, CoordinationInfo> CoordinationInfoHeapMap;
+ typedef WillBeHeapHashMap<String, CoordinationInfo> CoordinationInfoHeapMap;
CoordinationInfoHeapMap m_coordinationInfoMap;
bool m_isShuttingDown;

Powered by Google App Engine
This is Rietveld 408576698