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

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: . 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/webm/webm_parser_unittest.cc ('k') | webkit/media/active_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « media/webm/webm_parser_unittest.cc ('k') | webkit/media/active_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698