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

Unified Diff: content/renderer/speech_recognition_dispatcher.h

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/skia_benchmarking_extension.cc ('k') | content/renderer/speech_recognition_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/speech_recognition_dispatcher.h
diff --git a/content/renderer/speech_recognition_dispatcher.h b/content/renderer/speech_recognition_dispatcher.h
index 21eb831af82c59759fe895e080fd973064084ec2..bde0bdf0f3362d6e6d5be9a9a89fde1b1d08c343 100644
--- a/content/renderer/speech_recognition_dispatcher.h
+++ b/content/renderer/speech_recognition_dispatcher.h
@@ -6,9 +6,9 @@
#define CONTENT_RENDERER_SPEECH_RECOGNITION_DISPATCHER_H_
#include <map>
+#include <memory>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/shared_memory.h"
#include "base/sync_socket.h"
#include "content/public/common/speech_recognition_result.h"
@@ -84,7 +84,7 @@ class SpeechRecognitionDispatcher : public RenderViewObserver,
blink::WebMediaStreamTrack audio_track_;
// Audio sink used to provide audio from the track.
- scoped_ptr<SpeechRecognitionAudioSink> speech_audio_sink_;
+ std::unique_ptr<SpeechRecognitionAudioSink> speech_audio_sink_;
#endif
typedef std::map<int, blink::WebSpeechRecognitionHandle> HandleMap;
« no previous file with comments | « content/renderer/skia_benchmarking_extension.cc ('k') | content/renderer/speech_recognition_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698