Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Unified Diff: third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesizer.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesizer.h
diff --git a/third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesizer.h b/third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesizer.h
index 3fd6ff12da7584b29c94375f2553a014cc18b921..70237e0aa8cbdc162da1c4c6d783ba160df85748 100644
--- a/third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesizer.h
+++ b/third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesizer.h
@@ -30,6 +30,7 @@
#include "platform/heap/Handle.h"
#include "platform/speech/PlatformSpeechSynthesisVoice.h"
#include "wtf/Vector.h"
+#include <memory>
namespace blink {
@@ -94,7 +95,7 @@ protected:
private:
Member<PlatformSpeechSynthesizerClient> m_speechSynthesizerClient;
- OwnPtr<WebSpeechSynthesizer> m_webSpeechSynthesizer;
+ std::unique_ptr<WebSpeechSynthesizer> m_webSpeechSynthesizer;
Member<WebSpeechSynthesizerClientImpl> m_webSpeechSynthesizerClient;
};

Powered by Google App Engine
This is Rietveld 408576698