| Index: Source/modules/crypto/WorkerGlobalScopeCrypto.h
|
| diff --git a/Source/modules/crypto/WorkerGlobalScopeCrypto.h b/Source/modules/crypto/WorkerGlobalScopeCrypto.h
|
| index 9937bb6f4cea387cec74c642ef2813a3d39e5ca9..6774a9a1b71eea697fb1b14ad01c2ae4da719975 100644
|
| --- a/Source/modules/crypto/WorkerGlobalScopeCrypto.h
|
| +++ b/Source/modules/crypto/WorkerGlobalScopeCrypto.h
|
| @@ -31,26 +31,31 @@
|
| #ifndef WorkerGlobalScopeCrypto_h
|
| #define WorkerGlobalScopeCrypto_h
|
|
|
| -#include "core/workers/WorkerSupplementable.h"
|
| +#include "core/workers/WorkerGlobalScope.h"
|
| #include "heap/Handle.h"
|
| +#include "platform/Supplementable.h"
|
|
|
| namespace WebCore {
|
|
|
| -class WorkerCrypto;
|
| class ExecutionContext;
|
| +class WorkerCrypto;
|
| +class WorkerGlobalScope;
|
|
|
| -class WorkerGlobalScopeCrypto FINAL : public WorkerSupplement {
|
| +class WorkerGlobalScopeCrypto FINAL : public NoBaseWillBeGarbageCollected<WorkerGlobalScopeCrypto>, public WillBeHeapSupplement<WorkerGlobalScope> {
|
| + WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerGlobalScopeCrypto);
|
| public:
|
| virtual ~WorkerGlobalScopeCrypto();
|
| - static WorkerGlobalScopeCrypto& from(WorkerSupplementable&);
|
| - static WorkerCrypto* crypto(WorkerSupplementable&);
|
| + static WorkerGlobalScopeCrypto& from(WillBeHeapSupplementable<WorkerGlobalScope>&);
|
| + static WorkerCrypto* crypto(WillBeHeapSupplementable<WorkerGlobalScope>&);
|
| 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
|
|
|