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

Unified Diff: content/renderer/speech_recognition_dispatcher.cc

Issue 1873783003: Convert //content/renderer from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « content/renderer/speech_recognition_dispatcher.h ('k') | content/renderer/text_input_client_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/speech_recognition_dispatcher.cc
diff --git a/content/renderer/speech_recognition_dispatcher.cc b/content/renderer/speech_recognition_dispatcher.cc
index 9c20752734a4f2a332d0bc4de66d26ca6e6438df..585b61cd8da0c043c0e7b02551ba07729282c07a 100644
--- a/content/renderer/speech_recognition_dispatcher.cc
+++ b/content/renderer/speech_recognition_dispatcher.cc
@@ -272,7 +272,7 @@ void SpeechRecognitionDispatcher::OnAudioReceiverReady(
// The instantiation and type of SyncSocket is up to the client since it
// is dependency injected to the SpeechRecognitionAudioSink.
- scoped_ptr<base::SyncSocket> socket(new base::CancelableSyncSocket(
+ std::unique_ptr<base::SyncSocket> socket(new base::CancelableSyncSocket(
base::SyncSocket::UnwrapHandle(descriptor)));
speech_audio_sink_.reset(new SpeechRecognitionAudioSink(
« no previous file with comments | « content/renderer/speech_recognition_dispatcher.h ('k') | content/renderer/text_input_client_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698