Chromium Code Reviews| 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 { |
|
haraken
2014/03/27 00:59:03
Ditto.
sof
2014/03/27 07:25:51
I think we need to consider changing DOMWindowProp
|
| + 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 |