Chromium Code Reviews| Index: content/common/gpu/media/vaapi_tfp_picture.cc |
| diff --git a/content/common/gpu/media/vaapi_tfp_picture.cc b/content/common/gpu/media/vaapi_tfp_picture.cc |
| index 7f0122f004f927f224f834eff9851bb2f25ebf93..c3da49f974796992d2f6f110b4db2851732b7dd0 100644 |
| --- a/content/common/gpu/media/vaapi_tfp_picture.cc |
| +++ b/content/common/gpu/media/vaapi_tfp_picture.cc |
| @@ -18,7 +18,7 @@ VaapiTFPPicture::VaapiTFPPicture( |
| int32 picture_buffer_id, |
| uint32 texture_id, |
| const gfx::Size& size) |
| - : VaapiPicture(picture_buffer_id, texture_id, size), |
| + : VaapiPicture(picture_buffer_id, texture_id, size, false), |
| vaapi_wrapper_(vaapi_wrapper), |
| make_context_current_(make_context_current), |
| x_display_(gfx::GetXDisplay()), |
| @@ -36,7 +36,8 @@ VaapiTFPPicture::~VaapiTFPPicture() { |
| XFreePixmap(x_display_, x_pixmap_); |
| } |
| -bool VaapiTFPPicture::Initialize() { |
| +bool VaapiTFPPicture::Initialize(gpu::gles2::TextureManager* texture_manager, |
|
Pawel Osciak
2015/01/21 13:07:08
Unused parameters should be commented out per codi
|
| + gpu::gles2::TextureRef* texture_ref) { |
| if (!make_context_current_.Run()) |
| return false; |