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

Unified Diff: media/filters/chunk_demuxer.h

Issue 1904213003: Convert //media/filters from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove include 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/filters/audio_renderer_algorithm_unittest.cc ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/chunk_demuxer.h
diff --git a/media/filters/chunk_demuxer.h b/media/filters/chunk_demuxer.h
index 969afb22239ec0aa4fd240b781064ece24321651..be0f9dbc38be5283202b297eb17167414d6be383 100644
--- a/media/filters/chunk_demuxer.h
+++ b/media/filters/chunk_demuxer.h
@@ -136,7 +136,7 @@ class MEDIA_EXPORT ChunkDemuxerStream : public DemuxerStream {
Liveness liveness_;
- scoped_ptr<SourceBufferStream> stream_;
+ std::unique_ptr<SourceBufferStream> stream_;
mutable base::Lock lock_;
State state_;
@@ -378,8 +378,8 @@ class MEDIA_EXPORT ChunkDemuxer : public Demuxer {
// http://crbug.com/308226
PipelineStatusCB seek_cb_;
- scoped_ptr<ChunkDemuxerStream> audio_;
- scoped_ptr<ChunkDemuxerStream> video_;
+ std::unique_ptr<ChunkDemuxerStream> audio_;
+ std::unique_ptr<ChunkDemuxerStream> video_;
// Counter to ensure that we do not transition too early to INITIALIZED.
// Incremented in AddId(), decremented in OnSourceInitDone().
« no previous file with comments | « media/filters/audio_renderer_algorithm_unittest.cc ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698