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

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

Issue 2846843002: [blink] Unique pointers in Platform.h (Closed)
Patch Set: fix compilation (and again) Created 3 years, 8 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.cpp
diff --git a/third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesizer.cpp b/third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesizer.cpp
index 9da6fedff0e26bbabcc8a9acd03e2ca7665384d4..5e633e7a2417bd8cf89bc19eebda275d39e09b6b 100644
--- a/third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesizer.cpp
+++ b/third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesizer.cpp
@@ -48,9 +48,8 @@ PlatformSpeechSynthesizer::PlatformSpeechSynthesizer(
: speech_synthesizer_client_(client) {
web_speech_synthesizer_client_ =
new WebSpeechSynthesizerClientImpl(this, client);
- web_speech_synthesizer_ =
- WTF::WrapUnique(Platform::Current()->CreateSpeechSynthesizer(
- web_speech_synthesizer_client_));
+ web_speech_synthesizer_ = Platform::Current()->CreateSpeechSynthesizer(
+ web_speech_synthesizer_client_);
}
PlatformSpeechSynthesizer::~PlatformSpeechSynthesizer() {}
« no previous file with comments | « third_party/WebKit/Source/platform/mediastream/MediaStreamCenter.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698