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

Unified Diff: media/base/filter_factories.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/filter_collection.cc ('k') | media/base/media_log.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/filter_factories.h
diff --git a/media/base/filter_factories.h b/media/base/filter_factories.h
index 8b27c11803bd5a8122fb2650c2181a67948215c5..36977e64af0642fae0d7bb3b6e70ea13ea240f07 100644
--- a/media/base/filter_factories.h
+++ b/media/base/filter_factories.h
@@ -28,7 +28,7 @@ class MEDIA_EXPORT DataSourceFactory {
// Makes a copy of this factory.
// NOTE: Pending requests are not cloned.
- virtual DataSourceFactory* Clone() const = 0;
+ virtual scoped_ptr<DataSourceFactory> Clone() const = 0;
};
class Demuxer;
@@ -46,7 +46,7 @@ class MEDIA_EXPORT DemuxerFactory {
// Makes a copy of this factory.
// NOTE: Pending requests are not cloned.
- virtual DemuxerFactory* Clone() const = 0;
+ virtual scoped_ptr<DemuxerFactory> Clone() const = 0;
};
} // namespace media
« no previous file with comments | « media/base/filter_collection.cc ('k') | media/base/media_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698