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

Unified Diff: Source/modules/crypto/DOMWindowCrypto.h

Issue 212933005: Oilpan: turn DOMWindow into a heap supplementable. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make use of DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED() 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
« no previous file with comments | « Source/core/page/DOMWindowPagePopup.cpp ('k') | Source/modules/crypto/DOMWindowCrypto.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
+ 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
« no previous file with comments | « Source/core/page/DOMWindowPagePopup.cpp ('k') | Source/modules/crypto/DOMWindowCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698