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

Unified Diff: media/filters/gpu_video_decoder.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: Remove the dependency on CL 8968032 and point TODOs at the newly-filed bug. 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: media/filters/gpu_video_decoder.h
diff --git a/media/filters/gpu_video_decoder.h b/media/filters/gpu_video_decoder.h
index fdce0aeb3f80f11201b9efd13b6cff6fb38132dd..aacff06b2b13f31520ebdca16f307bd37573b126 100644
--- a/media/filters/gpu_video_decoder.h
+++ b/media/filters/gpu_video_decoder.h
@@ -50,8 +50,7 @@ class MEDIA_EXPORT GpuVideoDecoder
virtual base::SharedMemory* CreateSharedMemory(size_t size) = 0;
};
- // Takes ownership of |factories| but not |message_loop|.
- GpuVideoDecoder(MessageLoop* message_loop, Factories* factories);
+ GpuVideoDecoder(MessageLoop* message_loop, scoped_ptr<Factories> factories);
virtual ~GpuVideoDecoder();
// Filter implementation.

Powered by Google App Engine
This is Rietveld 408576698