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

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

Issue 163493003: Revert of Move speech module over to Oilpan. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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: Source/modules/speech/SpeechRecognitionEvent.h
diff --git a/Source/modules/speech/SpeechRecognitionEvent.h b/Source/modules/speech/SpeechRecognitionEvent.h
index 583c68888c0af15b9f3686b58e9ea95206dbb32a..00072b3740e33ca5b67e8ac883d6c236bcc09b7c 100644
--- a/Source/modules/speech/SpeechRecognitionEvent.h
+++ b/Source/modules/speech/SpeechRecognitionEvent.h
@@ -27,8 +27,6 @@
#define SpeechRecognitionEvent_h
#include "core/events/Event.h"
-#include "heap/Handle.h"
-#include "heap/Heap.h"
#include "modules/speech/SpeechRecognitionResult.h"
#include "modules/speech/SpeechRecognitionResultList.h"
#include "wtf/RefPtr.h"
@@ -37,13 +35,11 @@
class Document;
-class SpeechRecognitionEventInit : public EventInit {
- DISALLOW_ALLOCATION();
-public:
+struct SpeechRecognitionEventInit : public EventInit {
SpeechRecognitionEventInit();
unsigned long resultIndex;
- RefPtrWillBeRawPtr<SpeechRecognitionResultList> results;
+ RefPtr<SpeechRecognitionResultList> results;
};
class SpeechRecognitionEvent FINAL : public Event {
@@ -68,10 +64,10 @@
private:
SpeechRecognitionEvent();
SpeechRecognitionEvent(const AtomicString&, const SpeechRecognitionEventInit&);
- SpeechRecognitionEvent(const AtomicString& eventName, unsigned long resultIndex, PassRefPtrWillBeRawPtr<SpeechRecognitionResultList> results);
+ SpeechRecognitionEvent(const AtomicString& eventName, unsigned long resultIndex, PassRefPtr<SpeechRecognitionResultList> results);
unsigned long m_resultIndex;
- RefPtrWillBePersistent<SpeechRecognitionResultList> m_results;
+ RefPtr<SpeechRecognitionResultList> m_results;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/speech/SpeechRecognitionAlternative.idl ('k') | Source/modules/speech/SpeechRecognitionEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698