| Index: third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.h
|
| diff --git a/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.h b/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.h
|
| index 610c1307b2f8daba0e0494733584bdb78d8716fe..b43a237c3c1c79b7be2fe3f9b15991fb9fa5d24c 100644
|
| --- a/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.h
|
| +++ b/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.h
|
| @@ -39,12 +39,12 @@ class Document;
|
| class SpeechRecognitionEvent final : public Event {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static PassRefPtrWillBeRawPtr<SpeechRecognitionEvent> create();
|
| - static PassRefPtrWillBeRawPtr<SpeechRecognitionEvent> create(const AtomicString&, const SpeechRecognitionEventInit&);
|
| + static RawPtr<SpeechRecognitionEvent> create();
|
| + static RawPtr<SpeechRecognitionEvent> create(const AtomicString&, const SpeechRecognitionEventInit&);
|
| ~SpeechRecognitionEvent() override;
|
|
|
| - static PassRefPtrWillBeRawPtr<SpeechRecognitionEvent> createResult(unsigned long resultIndex, const HeapVector<Member<SpeechRecognitionResult>>& results);
|
| - static PassRefPtrWillBeRawPtr<SpeechRecognitionEvent> createNoMatch(SpeechRecognitionResult*);
|
| + static RawPtr<SpeechRecognitionEvent> createResult(unsigned long resultIndex, const HeapVector<Member<SpeechRecognitionResult>>& results);
|
| + static RawPtr<SpeechRecognitionEvent> createNoMatch(SpeechRecognitionResult*);
|
|
|
| unsigned long resultIndex() const { return m_resultIndex; }
|
| SpeechRecognitionResultList* results() const { return m_results; }
|
| @@ -64,7 +64,7 @@ private:
|
| SpeechRecognitionEvent(const AtomicString& eventName, unsigned long resultIndex, SpeechRecognitionResultList* results);
|
|
|
| unsigned long m_resultIndex;
|
| - PersistentWillBeMember<SpeechRecognitionResultList> m_results;
|
| + Member<SpeechRecognitionResultList> m_results;
|
| };
|
|
|
| } // namespace blink
|
|
|