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

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: Another applicable site 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 9a9d8732a3cc5ca27f52ab474d2bc0b3bbb2ade7..fe463bb24019cf0ef722ef8c05372f45096056be 100644
--- a/content/common/gpu/media/vaapi_video_decode_accelerator.h
+++ b/content/common/gpu/media/vaapi_video_decode_accelerator.h
@@ -208,8 +208,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);
};

Powered by Google App Engine
This is Rietveld 408576698