Index: Source/modules/speech/SpeechRecognition.cpp |
diff --git a/Source/modules/speech/SpeechRecognition.cpp b/Source/modules/speech/SpeechRecognition.cpp |
index 01bbbd4af1dbcf7865c3bc09fcd2e063ccd70ac9..6033a8932a4c667c21c6357c8b05455dbdc0a40b 100644 |
--- a/Source/modules/speech/SpeechRecognition.cpp |
+++ b/Source/modules/speech/SpeechRecognition.cpp |
@@ -47,7 +47,7 @@ void SpeechRecognition::start(ExceptionCode& ec) |
{ |
ASSERT(m_controller); |
if (m_started) { |
- ec = INVALID_STATE_ERR; |
+ ec = InvalidStateError; |
return; |
} |