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

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

Issue 178663004: Oilpan: move WorkerGlobalScope to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased 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/indexeddb/WorkerGlobalScopeIndexedDatabase.h
diff --git a/Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h b/Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h
index a098f931bbc7bfcd1d744d986854a1cd9e5e6042..aca9bdc0c4ddd6f8dac8bf5b0230f666a383d121 100644
--- a/Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h
+++ b/Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h
@@ -27,20 +27,24 @@
#ifndef WorkerGlobalScopeIndexedDatabase_h
#define WorkerGlobalScopeIndexedDatabase_h
-#include "core/workers/WorkerSupplementable.h"
+#include "platform/Supplementable.h"
namespace WebCore {
class IDBFactory;
class IDBFactoryBackendInterface;
class ExecutionContext;
+class WorkerGlobalScope;
-class WorkerGlobalScopeIndexedDatabase FINAL : public WorkerSupplement {
+class WorkerGlobalScopeIndexedDatabase FINAL : public NoBaseWillBeGarbageCollected<WorkerGlobalScopeIndexedDatabase>, public WillBeHeapSupplement<WorkerGlobalScope> {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerGlobalScopeIndexedDatabase);
public:
virtual ~WorkerGlobalScopeIndexedDatabase();
- static WorkerGlobalScopeIndexedDatabase& from(WorkerSupplementable&);
+ static WorkerGlobalScopeIndexedDatabase& from(WillBeHeapSupplementable<WorkerGlobalScope>&);
- static IDBFactory* indexedDB(WorkerSupplementable&);
+ static IDBFactory* indexedDB(WillBeHeapSupplementable<WorkerGlobalScope>&);
+
+ virtual void trace(Visitor*);
private:
WorkerGlobalScopeIndexedDatabase();
« no previous file with comments | « Source/modules/imagebitmap/ImageBitmapFactories.cpp ('k') | Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698