Index: Source/modules/speech/SpeechRecognitionError.h |
diff --git a/Source/modules/speech/SpeechRecognitionError.h b/Source/modules/speech/SpeechRecognitionError.h |
index 4b70965add7ea46516f9512012b887092bfee146..6dd99239cd25ce302fb2ca8b28d9b4644bab8117 100644 |
--- a/Source/modules/speech/SpeechRecognitionError.h |
+++ b/Source/modules/speech/SpeechRecognitionError.h |
@@ -27,7 +27,6 @@ |
#define SpeechRecognitionError_h |
#include "modules/EventModules.h" |
-#include "wtf/RefCounted.h" |
#include "wtf/text/WTFString.h" |
namespace WebCore { |
@@ -55,9 +54,9 @@ public: |
ErrorCodeLanguageNotSupported = 8 |
}; |
- static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(ErrorCode, const String&); |
- static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(); |
- static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(const AtomicString&, const SpeechRecognitionErrorInit&); |
+ static SpeechRecognitionError* create(ErrorCode, const String&); |
+ static SpeechRecognitionError* create(); |
+ static SpeechRecognitionError* create(const AtomicString&, const SpeechRecognitionErrorInit&); |
const String& error() { return m_error; } |
const String& message() { return m_message; } |