| Index: Source/modules/speech/SpeechSynthesisUtterance.h
|
| diff --git a/Source/modules/speech/SpeechSynthesisUtterance.h b/Source/modules/speech/SpeechSynthesisUtterance.h
|
| index 3a1af37db0c7f86acb6da91207660c5e22fcc75f..fea86980577d1895b4a763c82354b6114380490b 100644
|
| --- a/Source/modules/speech/SpeechSynthesisUtterance.h
|
| +++ b/Source/modules/speech/SpeechSynthesisUtterance.h
|
| @@ -33,15 +33,14 @@
|
| #include "platform/heap/Handle.h"
|
| #include "platform/speech/PlatformSpeechSynthesisUtterance.h"
|
| #include "wtf/PassRefPtr.h"
|
| -#include "wtf/RefCounted.h"
|
|
|
| namespace WebCore {
|
|
|
| -class SpeechSynthesisUtterance FINAL : public RefCountedWillBeGarbageCollectedFinalized<SpeechSynthesisUtterance>, public PlatformSpeechSynthesisUtteranceClient, public ScriptWrappable, public ContextLifecycleObserver, public EventTargetWithInlineData {
|
| - DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCounted<SpeechSynthesisUtterance>);
|
| +class SpeechSynthesisUtterance FINAL : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<SpeechSynthesisUtterance>, public PlatformSpeechSynthesisUtteranceClient, public ScriptWrappable, public ContextLifecycleObserver, public EventTargetWithInlineData {
|
| + DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<SpeechSynthesisUtterance>);
|
| WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SpeechSynthesisUtterance);
|
| public:
|
| - static PassRefPtrWillBeRawPtr<SpeechSynthesisUtterance> create(ExecutionContext*, const String&);
|
| + static SpeechSynthesisUtterance* create(ExecutionContext*, const String&);
|
|
|
| virtual ~SpeechSynthesisUtterance();
|
|
|
| @@ -83,7 +82,7 @@ public:
|
| private:
|
| SpeechSynthesisUtterance(ExecutionContext*, const String&);
|
| RefPtr<PlatformSpeechSynthesisUtterance> m_platformUtterance;
|
| - RefPtrWillBeMember<SpeechSynthesisVoice> m_voice;
|
| + Member<SpeechSynthesisVoice> m_voice;
|
|
|
| // EventTarget
|
| virtual const AtomicString& interfaceName() const OVERRIDE;
|
|
|