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

Unified Diff: media/audio/sounds/audio_stream_handler.h

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: Fix cast + windows build 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: media/audio/sounds/audio_stream_handler.h
diff --git a/media/audio/sounds/audio_stream_handler.h b/media/audio/sounds/audio_stream_handler.h
index 4a6b1315683836b5e7deaaf1d535ad50f29634af..91b5faa2564573ad1cc4159bbd52dfd628666457 100644
--- a/media/audio/sounds/audio_stream_handler.h
+++ b/media/audio/sounds/audio_stream_handler.h
@@ -69,7 +69,7 @@ class MEDIA_EXPORT AudioStreamHandler : public base::NonThreadSafe {
AudioOutputStream::AudioSourceCallback* source);
base::TimeDelta duration_;
- scoped_ptr<AudioStreamContainer> stream_;
+ std::unique_ptr<AudioStreamContainer> stream_;
DISALLOW_COPY_AND_ASSIGN(AudioStreamHandler);
};

Powered by Google App Engine
This is Rietveld 408576698