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

Unified Diff: webkit/media/active_loader.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: rebased & removed unnecessary include of ffmpeg_common.h from ffmpeg_demuxer.h Created 8 years, 12 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
Index: webkit/media/active_loader.h
diff --git a/webkit/media/active_loader.h b/webkit/media/active_loader.h
index 8a63ed039d1efb479e720f3ace0af04a10d8a82c..3c7660a9b564d44eebb6419890477ad5068957cc 100644
--- a/webkit/media/active_loader.h
+++ b/webkit/media/active_loader.h
@@ -21,9 +21,7 @@ class ActiveLoader {
public:
// Creates an ActiveLoader with the given loader. It is assumed that the
// initial state of |loader| is loading and not deferred.
- //
- // ActiveLoader takes ownership of |loader|.
- explicit ActiveLoader(WebKit::WebURLLoader* loader);
+ explicit ActiveLoader(scoped_ptr<WebKit::WebURLLoader> loader);
~ActiveLoader();
// Starts or stops deferring the resource load.

Powered by Google App Engine
This is Rietveld 408576698