Index: Source/modules/speech/SpeechRecognition.cpp |
diff --git a/Source/modules/speech/SpeechRecognition.cpp b/Source/modules/speech/SpeechRecognition.cpp |
index c477c29b86d6b1dcfb6c9fa222804913cad585b5..364332ee89098792393ccd585a9bcdf32895dd6b 100644 |
--- a/Source/modules/speech/SpeechRecognition.cpp |
+++ b/Source/modules/speech/SpeechRecognition.cpp |
@@ -27,7 +27,6 @@ |
#include "modules/speech/SpeechRecognition.h" |
-#include "bindings/v8/ExceptionMessages.h" |
#include "bindings/v8/ExceptionState.h" |
#include "core/dom/Document.h" |
#include "core/dom/ExceptionCode.h" |
@@ -49,7 +48,7 @@ void SpeechRecognition::start(ExceptionState& exceptionState) |
{ |
ASSERT(m_controller); |
if (m_started) { |
- exceptionState.throwDOMException(InvalidStateError, ExceptionMessages::failedToExecute("start", "SpeechRecognition", "recognition has already started.")); |
+ exceptionState.throwDOMException(InvalidStateError, "recognition has already started."); |
return; |
} |