Index: Source/modules/crypto/WorkerGlobalScopeCrypto.h |
diff --git a/Source/modules/crypto/WorkerGlobalScopeCrypto.h b/Source/modules/crypto/WorkerGlobalScopeCrypto.h |
index 9937bb6f4cea387cec74c642ef2813a3d39e5ca9..e8bb475e204c9e85d7dd3b1ccb3a4081e303a440 100644 |
--- a/Source/modules/crypto/WorkerGlobalScopeCrypto.h |
+++ b/Source/modules/crypto/WorkerGlobalScopeCrypto.h |
@@ -31,6 +31,7 @@ |
#ifndef WorkerGlobalScopeCrypto_h |
#define WorkerGlobalScopeCrypto_h |
+#include "core/workers/WorkerGlobalScope.h" |
#include "core/workers/WorkerSupplementable.h" |
#include "heap/Handle.h" |
@@ -39,18 +40,20 @@ namespace WebCore { |
class WorkerCrypto; |
class ExecutionContext; |
-class WorkerGlobalScopeCrypto FINAL : public WorkerSupplement { |
+class WorkerGlobalScopeCrypto FINAL : public NoBaseWillBeGarbageCollected<WorkerGlobalScopeCrypto>, public WorkerSupplement { |
public: |
virtual ~WorkerGlobalScopeCrypto(); |
static WorkerGlobalScopeCrypto& from(WorkerSupplementable&); |
static WorkerCrypto* crypto(WorkerSupplementable&); |
WorkerCrypto* crypto() const; |
+ virtual void trace(Visitor*); |
+ |
private: |
WorkerGlobalScopeCrypto(); |
static const char* supplementName(); |
- mutable RefPtrWillBePersistent<WorkerCrypto> m_crypto; |
+ mutable RefPtrWillBeMember<WorkerCrypto> m_crypto; |
}; |
} // namespace WebCore |