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

Unified Diff: content/common/gpu/media/vaapi_video_decode_accelerator.h

Issue 11092054: Teach BindToLoop to create callbacks that accept scoped parameters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: xhwang CR Created 8 years, 2 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: content/common/gpu/media/vaapi_video_decode_accelerator.h
diff --git a/content/common/gpu/media/vaapi_video_decode_accelerator.h b/content/common/gpu/media/vaapi_video_decode_accelerator.h
index 8ed1048b28f062776c8e4b8a1c4edf81d88d500a..140eb1232e2f60dd06612ab4c7efeae46e61e380 100644
--- a/content/common/gpu/media/vaapi_video_decode_accelerator.h
+++ b/content/common/gpu/media/vaapi_video_decode_accelerator.h
@@ -210,8 +210,8 @@ private:
// and put the decoded picture into output buffer. Takes ownership of
// the queues' memory.
void SubmitDecode(int32 output_id,
- std::queue<VABufferID>* va_bufs,
- std::queue<VABufferID>* slice_bufs);
+ scoped_ptr<std::queue<VABufferID> > va_bufs,
+ scoped_ptr<std::queue<VABufferID> > slice_bufs);
DISALLOW_COPY_AND_ASSIGN(VaapiVideoDecodeAccelerator);
};
« no previous file with comments | « content/common/gpu/media/vaapi_h264_decoder.cc ('k') | content/common/gpu/media/vaapi_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698