| Index: content/common/gpu/media/vaapi_picture.cc
|
| diff --git a/content/common/gpu/media/vaapi_picture.cc b/content/common/gpu/media/vaapi_picture.cc
|
| index 782971c61f2113a9854b1676800c942d26e4fd48..8255edcf4764982df66f95a7cb0d03c3287b3258 100644
|
| --- a/content/common/gpu/media/vaapi_picture.cc
|
| +++ b/content/common/gpu/media/vaapi_picture.cc
|
| @@ -18,6 +18,8 @@ namespace content {
|
| // static
|
| linked_ptr<VaapiPicture> VaapiPicture::CreatePicture(
|
| VaapiWrapper* vaapi_wrapper,
|
| + gpu::gles2::TextureManager* texture_manager,
|
| + gpu::gles2::TextureRef* texture_ref,
|
| const base::Callback<bool(void)> make_context_current,
|
| int32 picture_buffer_id,
|
| uint32 texture_id,
|
| @@ -31,7 +33,7 @@ linked_ptr<VaapiPicture> VaapiPicture::CreatePicture(
|
| picture_buffer_id, texture_id, size));
|
| #endif // USE_X11
|
|
|
| - if (picture.get() && !picture->Initialize())
|
| + if (picture.get() && !picture->Initialize(texture_manager, texture_ref))
|
| picture.reset();
|
|
|
| return picture;
|
|
|