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(); |