Chromium Code Reviews| Index: Source/modules/crypto/DOMWindowCrypto.h |
| diff --git a/Source/modules/crypto/DOMWindowCrypto.h b/Source/modules/crypto/DOMWindowCrypto.h |
| index aba80aa69cd39cbc6399054410f62f407dd952cc..e121786ec7bc3b877593b4d10dad09ed1646eb7c 100644 |
| --- a/Source/modules/crypto/DOMWindowCrypto.h |
| +++ b/Source/modules/crypto/DOMWindowCrypto.h |
| @@ -40,18 +40,21 @@ namespace WebCore { |
| class Crypto; |
| class DOMWindow; |
| -class DOMWindowCrypto FINAL : public Supplement<DOMWindow>, public DOMWindowProperty { |
| +class DOMWindowCrypto FINAL : public NoBaseWillBeGarbageCollectedFinalized<DOMWindowCrypto>, public WillBeHeapSupplement<DOMWindow>, public DOMWindowProperty { |
|
haraken
2014/03/27 00:59:03
Ditto. By using DECLARE_EMPTY_VIRTUAL_DESTRUCTOR a
sof
2014/03/27 07:25:51
Same re: DOMWindowProperty.
|
| + WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowCrypto); |
| public: |
| virtual ~DOMWindowCrypto(); |
| static DOMWindowCrypto& from(DOMWindow&); |
| static Crypto* crypto(DOMWindow&); |
| Crypto* crypto() const; |
| + void trace(Visitor*); |
| + |
| private: |
| explicit DOMWindowCrypto(DOMWindow&); |
| static const char* supplementName(); |
| - mutable RefPtrWillBePersistent<Crypto> m_crypto; |
| + mutable RefPtrWillBeMember<Crypto> m_crypto; |
| }; |
| } // namespace WebCore |