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

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

Issue 469683002: Implement WebThreadSupportingGC, which wraps a WebThread attached to Oilpan's GC (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/core/workers/WorkerThread.cpp ('k') | Source/modules/webdatabase/DatabaseThread.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseThread.h
diff --git a/Source/modules/webdatabase/DatabaseThread.h b/Source/modules/webdatabase/DatabaseThread.h
index a5be5fa479b56537d5345c847972155394414aec..3a020939194693f695cc669b5ddce9866bdccd5a 100644
--- a/Source/modules/webdatabase/DatabaseThread.h
+++ b/Source/modules/webdatabase/DatabaseThread.h
@@ -28,8 +28,8 @@
#ifndef DatabaseThread_h
#define DatabaseThread_h
+#include "platform/WebThreadSupportingGC.h"
#include "platform/heap/Handle.h"
-#include "public/platform/WebThread.h"
#include "wtf/Deque.h"
#include "wtf/HashMap.h"
#include "wtf/HashSet.h"
@@ -79,7 +79,7 @@ private:
void cleanupDatabaseThread();
void cleanupDatabaseThreadCompleted();
- OwnPtr<WebThread> m_thread;
+ OwnPtr<WebThreadSupportingGC> m_thread;
// This set keeps track of the open databases that have been used on this thread.
// This must be updated in the database thread though it is constructed and
@@ -92,8 +92,6 @@ private:
mutable Mutex m_terminationRequestedMutex;
bool m_terminationRequested;
- OwnPtr<PendingGCRunner> m_pendingGCRunner;
- OwnPtr<MessageLoopInterruptor> m_messageLoopInterruptor;
};
} // namespace blink
« no previous file with comments | « Source/core/workers/WorkerThread.cpp ('k') | Source/modules/webdatabase/DatabaseThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698