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

Unified Diff: Source/modules/speech/DOMWindowSpeechSynthesis.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/modules/quota/DOMWindowQuota.cpp ('k') | Source/modules/speech/DOMWindowSpeechSynthesis.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/DOMWindowSpeechSynthesis.h
diff --git a/Source/modules/speech/DOMWindowSpeechSynthesis.h b/Source/modules/speech/DOMWindowSpeechSynthesis.h
index e78a4e19cb0e4610c0bdcd6b06d8e8b74eb55649..22b7bfc17bcb62cb73521f28dc32381c4de8cd24 100644
--- a/Source/modules/speech/DOMWindowSpeechSynthesis.h
+++ b/Source/modules/speech/DOMWindowSpeechSynthesis.h
@@ -35,20 +35,23 @@ namespace WebCore {
class DOMWindow;
-class DOMWindowSpeechSynthesis FINAL : public Supplement<DOMWindow>, public DOMWindowProperty {
+class DOMWindowSpeechSynthesis FINAL : public NoBaseWillBeGarbageCollectedFinalized<DOMWindowSpeechSynthesis>, public WillBeHeapSupplement<DOMWindow>, public DOMWindowProperty {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowSpeechSynthesis);
public:
virtual ~DOMWindowSpeechSynthesis();
static SpeechSynthesis* speechSynthesis(DOMWindow&);
static DOMWindowSpeechSynthesis& from(DOMWindow&);
+ void trace(Visitor*);
+
private:
explicit DOMWindowSpeechSynthesis(DOMWindow&);
SpeechSynthesis* speechSynthesis();
static const char* supplementName();
- RefPtrWillBePersistent<SpeechSynthesis> m_speechSynthesis;
+ RefPtrWillBeMember<SpeechSynthesis> m_speechSynthesis;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/quota/DOMWindowQuota.cpp ('k') | Source/modules/speech/DOMWindowSpeechSynthesis.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698