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

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

Issue 1432963003: [Ozone] Extends the lifetime of VaapiWrapper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « content/common/gpu/media/vaapi_jpeg_decoder_unittest.cc ('k') | content/common/gpu/media/vaapi_picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/vaapi_picture.h
diff --git a/content/common/gpu/media/vaapi_picture.h b/content/common/gpu/media/vaapi_picture.h
index c1fb4c5b789cc20bd7e7a2024814a2f0f8265f28..fb62ba01c200bfa42eb525e0d0aabe325165cc06 100644
--- a/content/common/gpu/media/vaapi_picture.h
+++ b/content/common/gpu/media/vaapi_picture.h
@@ -51,7 +51,7 @@ class VaapiPicture : public base::NonThreadSafe {
// |picture_buffer_id| and bound to |texture_id|.
// |make_context_current| is provided for the GL operations.
static linked_ptr<VaapiPicture> CreatePicture(
- VaapiWrapper* vaapi_wrapper,
+ const scoped_refptr<VaapiWrapper>& vaapi_wrapper,
const base::Callback<bool(void)> make_context_current,
int32 picture_buffer_id,
uint32 texture_id,
« no previous file with comments | « content/common/gpu/media/vaapi_jpeg_decoder_unittest.cc ('k') | content/common/gpu/media/vaapi_picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698