Index: Source/modules/speech/SpeechSynthesisVoice.h |
diff --git a/Source/modules/speech/SpeechSynthesisVoice.h b/Source/modules/speech/SpeechSynthesisVoice.h |
index 81c82324dc90e7dde3baab0103b0a6a9b4e6747f..b3bdb20fc8e237acc862af87988a02aba7ed2486 100644 |
--- a/Source/modules/speech/SpeechSynthesisVoice.h |
+++ b/Source/modules/speech/SpeechSynthesisVoice.h |
@@ -29,15 +29,13 @@ |
#include "bindings/v8/ScriptWrappable.h" |
#include "platform/heap/Handle.h" |
#include "platform/speech/PlatformSpeechSynthesisVoice.h" |
-#include "wtf/PassRefPtr.h" |
-#include "wtf/RefCounted.h" |
#include "wtf/text/WTFString.h" |
namespace WebCore { |
class SpeechSynthesisVoice FINAL : public GarbageCollectedFinalized<SpeechSynthesisVoice>, public ScriptWrappable { |
public: |
- static SpeechSynthesisVoice* create(PassRefPtr<PlatformSpeechSynthesisVoice>); |
+ static SpeechSynthesisVoice* create(PlatformSpeechSynthesisVoice*); |
const String& voiceURI() const { return m_platformVoice->voiceURI(); } |
const String& name() const { return m_platformVoice->name(); } |
@@ -45,14 +43,14 @@ public: |
bool localService() const { return m_platformVoice->localService(); } |
bool isDefault() const { return m_platformVoice->isDefault(); } |
- PlatformSpeechSynthesisVoice* platformVoice() const { return m_platformVoice.get(); } |
+ PlatformSpeechSynthesisVoice* platformVoice() const { return m_platformVoice; } |
- void trace(Visitor*) { } |
+ void trace(Visitor*); |
private: |
- explicit SpeechSynthesisVoice(PassRefPtr<PlatformSpeechSynthesisVoice>); |
+ explicit SpeechSynthesisVoice(PlatformSpeechSynthesisVoice*); |
- RefPtr<PlatformSpeechSynthesisVoice> m_platformVoice; |
+ Member<PlatformSpeechSynthesisVoice> m_platformVoice; |
}; |
} // namespace WebCore |