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

Unified Diff: media/filters/chunk_demuxer.cc

Issue 9015015: Take advantage of the new Pass() machinery on scoped_ptr{,_malloc}. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 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_base_unittest.cc ('k') | media/filters/chunk_demuxer_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/chunk_demuxer.cc
diff --git a/media/filters/chunk_demuxer.cc b/media/filters/chunk_demuxer.cc
index 64fad537ae5a3f77b95919f37fcda0351c1fcc3b..b73e12655d05bfca2a8a961f665c2178c2fcbfb9 100644
--- a/media/filters/chunk_demuxer.cc
+++ b/media/filters/chunk_demuxer.cc
@@ -56,7 +56,9 @@ static const uint8 kEmptyCluster[] = {
};
// Create an "end of stream" buffer.
-static Buffer* CreateEOSBuffer() { return new DataBuffer(0, 0); }
+static Buffer* CreateEOSBuffer() {
+ return new DataBuffer(0);
+}
class ChunkDemuxerStream : public DemuxerStream {
public:
« no previous file with comments | « media/filters/audio_renderer_algorithm_base_unittest.cc ('k') | media/filters/chunk_demuxer_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698