Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1959)

Unified Diff: third_party/WebKit/Source/modules/speech/SpeechRecognitionEvent.h

Issue 1864243004: Remove RawPtr from Source/modules Part 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b43a237c3c1c79b7be2fe3f9b15991fb9fa5d24c..3d1d21762586a43ee6f221a6860cc9b66a264808 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 RawPtr<SpeechRecognitionEvent> create();
- static RawPtr<SpeechRecognitionEvent> create(const AtomicString&, const SpeechRecognitionEventInit&);
+ static SpeechRecognitionEvent* create();
+ static SpeechRecognitionEvent* create(const AtomicString&, const SpeechRecognitionEventInit&);
~SpeechRecognitionEvent() override;
- static RawPtr<SpeechRecognitionEvent> createResult(unsigned long resultIndex, const HeapVector<Member<SpeechRecognitionResult>>& results);
- static RawPtr<SpeechRecognitionEvent> createNoMatch(SpeechRecognitionResult*);
+ static SpeechRecognitionEvent* createResult(unsigned long resultIndex, const HeapVector<Member<SpeechRecognitionResult>>& results);
+ static SpeechRecognitionEvent* createNoMatch(SpeechRecognitionResult*);
unsigned long resultIndex() const { return m_resultIndex; }
SpeechRecognitionResultList* results() const { return m_results; }

Powered by Google App Engine
This is Rietveld 408576698