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 |