| Index: Source/modules/speech/testing/PlatformSpeechSynthesizerMock.h
|
| diff --git a/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.h b/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.h
|
| index aedc2d037dc07dc0a77eb621cca4a66eb0a42bf6..ad37336b90b1f6a1699ec564fe00c6d932906045 100644
|
| --- a/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.h
|
| +++ b/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.h
|
| @@ -27,21 +27,23 @@
|
| #define PlatformSpeechSynthesizerMock_h
|
|
|
| #include "platform/Timer.h"
|
| +#include "platform/heap/Handle.h"
|
| #include "platform/speech/PlatformSpeechSynthesizer.h"
|
| -#include "wtf/PassOwnPtr.h"
|
|
|
| namespace WebCore {
|
|
|
| class PlatformSpeechSynthesizerMock FINAL : public PlatformSpeechSynthesizer {
|
| public:
|
| - static PassOwnPtr<PlatformSpeechSynthesizerMock> create(PlatformSpeechSynthesizerClient*);
|
| + static PlatformSpeechSynthesizerMock* create(PlatformSpeechSynthesizerClient*);
|
|
|
| virtual ~PlatformSpeechSynthesizerMock();
|
| - virtual void speak(PassRefPtr<PlatformSpeechSynthesisUtterance>) OVERRIDE;
|
| + virtual void speak(PlatformSpeechSynthesisUtterance*) OVERRIDE;
|
| virtual void pause() OVERRIDE;
|
| virtual void resume() OVERRIDE;
|
| virtual void cancel() OVERRIDE;
|
|
|
| + virtual void trace(Visitor*) OVERRIDE;
|
| +
|
| private:
|
| explicit PlatformSpeechSynthesizerMock(PlatformSpeechSynthesizerClient*);
|
| virtual void initializeVoiceList() OVERRIDE;
|
| @@ -50,7 +52,7 @@ private:
|
|
|
| Timer<PlatformSpeechSynthesizerMock> m_speakingFinishedTimer;
|
| Timer<PlatformSpeechSynthesizerMock> m_speakingErrorOccurredTimer;
|
| - RefPtr<PlatformSpeechSynthesisUtterance> m_utterance;
|
| + Member<PlatformSpeechSynthesisUtterance> m_utterance;
|
| };
|
|
|
| } // namespace WebCore
|
|
|