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 ac9f4be941e2e89dccd0801757d0c65989afd0a1..644db42d40ecf34d3bbd116ae0ffaae53d245fed 100644 |
--- a/content/common/gpu/media/vaapi_video_decode_accelerator.h |
+++ b/content/common/gpu/media/vaapi_video_decode_accelerator.h |
@@ -223,9 +223,9 @@ class CONTENT_EXPORT VaapiVideoDecodeAccelerator |
typedef std::queue<int32> OutputBuffers; |
OutputBuffers output_buffers_; |
- scoped_ptr<VaapiWrapper> vaapi_wrapper_; |
+ scoped_refptr<VaapiWrapper> vaapi_wrapper_; |
- typedef std::map<int32, linked_ptr<VaapiPicture>> Pictures; |
+ typedef std::map<int32, scoped_refptr<VaapiPicture>> Pictures; |
// All allocated Pictures, regardless of their current state. |
// Pictures are allocated once and destroyed at the end of decode. |
// Comes after vaapi_wrapper_ to ensure all pictures are destroyed |