| Index: third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp
|
| diff --git a/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp b/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp
|
| index 6cdd4c0f1ddb238fd03f37de21b3792e07ffd45b..8343decef57898a0f0b7d762590f854cabcdd938 100644
|
| --- a/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp
|
| +++ b/third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.cpp
|
| @@ -27,22 +27,22 @@
|
|
|
| namespace blink {
|
|
|
| -RawPtr<SpeechRecognitionEvent> SpeechRecognitionEvent::create()
|
| +SpeechRecognitionEvent* SpeechRecognitionEvent::create()
|
| {
|
| return new SpeechRecognitionEvent;
|
| }
|
|
|
| -RawPtr<SpeechRecognitionEvent> SpeechRecognitionEvent::create(const AtomicString& eventName, const SpeechRecognitionEventInit& initializer)
|
| +SpeechRecognitionEvent* SpeechRecognitionEvent::create(const AtomicString& eventName, const SpeechRecognitionEventInit& initializer)
|
| {
|
| return new SpeechRecognitionEvent(eventName, initializer);
|
| }
|
|
|
| -RawPtr<SpeechRecognitionEvent> SpeechRecognitionEvent::createResult(unsigned long resultIndex, const HeapVector<Member<SpeechRecognitionResult>>& results)
|
| +SpeechRecognitionEvent* SpeechRecognitionEvent::createResult(unsigned long resultIndex, const HeapVector<Member<SpeechRecognitionResult>>& results)
|
| {
|
| return new SpeechRecognitionEvent(EventTypeNames::result, resultIndex, SpeechRecognitionResultList::create(results));
|
| }
|
|
|
| -RawPtr<SpeechRecognitionEvent> SpeechRecognitionEvent::createNoMatch(SpeechRecognitionResult* result)
|
| +SpeechRecognitionEvent* SpeechRecognitionEvent::createNoMatch(SpeechRecognitionResult* result)
|
| {
|
| if (result) {
|
| HeapVector<Member<SpeechRecognitionResult>> results;
|
|
|