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

Unified Diff: media/base/filter_collection.h

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/base/data_buffer.cc ('k') | media/base/filter_collection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/filter_collection.h
diff --git a/media/base/filter_collection.h b/media/base/filter_collection.h
index edf6b29efeb33b951a02cf7641d3154e29331b65..f71050230b59bf1492aff0746e5a3410ac98c0a5 100644
--- a/media/base/filter_collection.h
+++ b/media/base/filter_collection.h
@@ -21,8 +21,7 @@ class MEDIA_EXPORT FilterCollection {
~FilterCollection();
// DemuxerFactory accessor methods.
- // FilterCollection takes ownership of the factory here.
- void SetDemuxerFactory(DemuxerFactory* factory);
+ void SetDemuxerFactory(scoped_ptr<DemuxerFactory> factory);
DemuxerFactory* GetDemuxerFactory();
// Adds a filter to the collection.
« no previous file with comments | « media/base/data_buffer.cc ('k') | media/base/filter_collection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698