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

Unified Diff: media/base/async_filter_factory_base.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 9 years 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/base/async_filter_factory_base.h
diff --git a/media/base/async_filter_factory_base.h b/media/base/async_filter_factory_base.h
index 303bad998fcc032e0c27b6c4aa87df7339ec1233..ae7538e7177663636b8b6c7b61e1d666bb7079dc 100644
--- a/media/base/async_filter_factory_base.h
+++ b/media/base/async_filter_factory_base.h
@@ -62,7 +62,7 @@ class MEDIA_EXPORT AsyncDataSourceFactoryBase : public DataSourceFactory {
// NOTE: Nothing in this base class needs to be cloned because this class
// only keeps track of pending requests, which are not part of the cloning
// process.
- virtual DataSourceFactory* Clone() const = 0;
+ virtual scoped_ptr<DataSourceFactory> Clone() const = 0;
protected:
class MEDIA_EXPORT BuildRequest {

Powered by Google App Engine
This is Rietveld 408576698