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

Unified Diff: media/audio/clockless_audio_sink.cc

Issue 1911913002: Convert //media/audio 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 | « media/audio/clockless_audio_sink.h ('k') | media/audio/cras/cras_input.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/clockless_audio_sink.cc
diff --git a/media/audio/clockless_audio_sink.cc b/media/audio/clockless_audio_sink.cc
index ede067cd2802df0f89d94709fa903ed2afed0c83..911d09d09c75aba1542e772fb7abc40dc5a1737d 100644
--- a/media/audio/clockless_audio_sink.cc
+++ b/media/audio/clockless_audio_sink.cc
@@ -67,11 +67,11 @@ class ClocklessAudioSinkThread : public base::DelegateSimpleThread::Delegate {
}
AudioRendererSink::RenderCallback* callback_;
- scoped_ptr<AudioBus> audio_bus_;
- scoped_ptr<base::WaitableEvent> stop_event_;
- scoped_ptr<base::DelegateSimpleThread> thread_;
+ std::unique_ptr<AudioBus> audio_bus_;
+ std::unique_ptr<base::WaitableEvent> stop_event_;
+ std::unique_ptr<base::DelegateSimpleThread> thread_;
base::TimeDelta playback_time_;
- scoped_ptr<AudioHash> audio_hash_;
+ std::unique_ptr<AudioHash> audio_hash_;
};
ClocklessAudioSink::ClocklessAudioSink()
« no previous file with comments | « media/audio/clockless_audio_sink.h ('k') | media/audio/cras/cras_input.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698