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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 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

Powered by Google App Engine
This is Rietveld 408576698