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

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

Issue 1432963003: [Ozone] Extends the lifetime of VaapiWrapper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Extends the lifetime of VaapiWrapper Created 5 years, 1 month 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 ac9f4be941e2e89dccd0801757d0c65989afd0a1..e8703518f9eaed33b5de4194e1463028ccd65753 100644
--- a/content/common/gpu/media/vaapi_video_decode_accelerator.h
+++ b/content/common/gpu/media/vaapi_video_decode_accelerator.h
@@ -223,7 +223,7 @@ 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;
// All allocated Pictures, regardless of their current state.

Powered by Google App Engine
This is Rietveld 408576698