Index: third_party/WebKit/Source/web/SpeechRecognitionClientProxy.h |
diff --git a/third_party/WebKit/Source/web/SpeechRecognitionClientProxy.h b/third_party/WebKit/Source/web/SpeechRecognitionClientProxy.h |
index c23ac5fd14f57b00c4ce5ce4263107e36fd953e1..0ff2721d0914f13e777709d7166ac6f8bcdeaf90 100644 |
--- a/third_party/WebKit/Source/web/SpeechRecognitionClientProxy.h |
+++ b/third_party/WebKit/Source/web/SpeechRecognitionClientProxy.h |
@@ -29,8 +29,8 @@ |
#include "modules/speech/SpeechRecognitionClient.h" |
#include "public/web/WebSpeechRecognizerClient.h" |
#include "wtf/Compiler.h" |
+#include "wtf/PassOwnPtr.h" |
#include "wtf/text/WTFString.h" |
-#include <memory> |
namespace blink { |
@@ -44,7 +44,7 @@ public: |
// Constructing a proxy object with a 0 WebSpeechRecognizer is safe in |
// itself, but attempting to call start/stop/abort on it will crash. |
- static std::unique_ptr<SpeechRecognitionClientProxy> create(WebSpeechRecognizer*); |
+ static PassOwnPtr<SpeechRecognitionClientProxy> create(WebSpeechRecognizer*); |
// SpeechRecognitionClient: |
void start(SpeechRecognition*, const SpeechGrammarList*, const String& lang, bool continuous, bool interimResults, unsigned long maxAlternatives, MediaStreamTrack*) override; |