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: chromecast/media/cma/backend/alsa/stream_mixer_alsa.cc

Issue 1875623002: Convert //chromecast 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
Index: chromecast/media/cma/backend/alsa/stream_mixer_alsa.cc
diff --git a/chromecast/media/cma/backend/alsa/stream_mixer_alsa.cc b/chromecast/media/cma/backend/alsa/stream_mixer_alsa.cc
index 4aa0c06633ef521f306bf8bee524780003a3eb24..9ee6a3b368349ceefe5f055b850e60d736d71a25 100644
--- a/chromecast/media/cma/backend/alsa/stream_mixer_alsa.cc
+++ b/chromecast/media/cma/backend/alsa/stream_mixer_alsa.cc
@@ -546,7 +546,7 @@ void StreamMixerAlsa::SignalError() {
}
void StreamMixerAlsa::SetAlsaWrapperForTest(
- scoped_ptr<AlsaWrapper> alsa_wrapper) {
+ std::unique_ptr<AlsaWrapper> alsa_wrapper) {
if (alsa_) {
Stop();
ClosePcm();
@@ -564,7 +564,7 @@ void StreamMixerAlsa::ClearInputsForTest() {
inputs_.clear();
}
-void StreamMixerAlsa::AddInput(scoped_ptr<InputQueue> input) {
+void StreamMixerAlsa::AddInput(std::unique_ptr<InputQueue> input) {
RUN_ON_MIXER_THREAD(&StreamMixerAlsa::AddInput,
base::Passed(std::move(input)));
if (!alsa_)
« no previous file with comments | « chromecast/media/cma/backend/alsa/stream_mixer_alsa.h ('k') | chromecast/media/cma/backend/alsa/stream_mixer_alsa_input.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698