Index: Source/modules/speech/SpeechRecognition.h |
diff --git a/Source/modules/speech/SpeechRecognition.h b/Source/modules/speech/SpeechRecognition.h |
index 10747f8fdef6030efa8ca3b2b93f8ebc4b7c5279..5c6c53e319ed1bdac0535c09cdc5d54d4bbbab19 100644 |
--- a/Source/modules/speech/SpeechRecognition.h |
+++ b/Source/modules/speech/SpeechRecognition.h |
@@ -44,7 +44,7 @@ class SpeechRecognitionError; |
class SpeechRecognitionResult; |
class SpeechRecognitionResultList; |
-class SpeechRecognition : public RefCounted<SpeechRecognition>, public ScriptWrappable, public ActiveDOMObject, public EventTarget { |
+class SpeechRecognition : public RefCounted<SpeechRecognition>, public ScriptWrappable, public ActiveDOMObject, public EventTargetWithInlineData { |
public: |
static PassRefPtr<SpeechRecognition> create(ScriptExecutionContext*); |
~SpeechRecognition(); |
@@ -110,8 +110,6 @@ private: |
// EventTarget |
virtual void refEventTarget() OVERRIDE { ref(); } |
virtual void derefEventTarget() OVERRIDE { deref(); } |
- virtual EventTargetData* eventTargetData() OVERRIDE { return &m_eventTargetData; } |
- virtual EventTargetData* ensureEventTargetData() OVERRIDE { return &m_eventTargetData; } |
RefPtr<SpeechGrammarList> m_grammars; |
String m_lang; |
@@ -119,8 +117,6 @@ private: |
bool m_interimResults; |
unsigned long m_maxAlternatives; |
- EventTargetData m_eventTargetData; |
- |
SpeechRecognitionController* m_controller; |
bool m_stoppedByActiveDOMObject; |
bool m_started; |