vaapi_wrapper_ = VaapiWrapper::Create(
profile,
- gfx::GLSurfaceEGL::GetNativeDisplay(),
+ reinterpret_cast<void*>(gfx::GLSurfaceEGL::GetNativeDisplay()),
base::Bind(&ReportToUMA, VaapiH264Decoder::VAAPI_ERROR));
if (!vaapi_wrapper_.get()) {
// TODO(posciak): Use visible size from decoder here instead
// (crbug.com/402760).
if (client_)
- client_->PictureReady(media::Picture(output_id, input_id, gfx::Rect(tfp_picture->size())));
+ client_->PictureReady(
+ media::Picture(output_id, input_id, gfx::Rect(tfp_picture->size())));
}
void VaapiVideoDecodeAccelerator::TryOutputSurface() {