Index: content/common/gpu/media/gpu_video_decode_accelerator.cc |
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
index 54e909115ba52ab5001c228b769830cb7dcb03fd..42d1f6590d8337eef0ec89ca982df2dab7850815 100644 |
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
@@ -104,7 +104,7 @@ void GpuVideoDecodeAccelerator::NotifyError( |
} |
void GpuVideoDecodeAccelerator::Initialize( |
- const std::vector<int32>& configs, |
+ const media::VideoDecodeAccelerator::Profile profile, |
IPC::Message* init_done_msg) { |
DCHECK(!video_decode_accelerator_.get()); |
DCHECK(!init_done_msg_); |
@@ -117,7 +117,7 @@ void GpuVideoDecodeAccelerator::Initialize( |
gfx::GLSurfaceEGL::GetHardwareDisplay(), |
stub_->scheduler()->decoder()->GetGLContext()->GetHandle()); |
video_decode_accelerator_ = omx_decoder; |
- video_decode_accelerator_->Initialize(configs); |
+ video_decode_accelerator_->Initialize(profile); |
#else |
NOTIMPLEMENTED() << "HW video decode acceleration not available."; |
NotifyError(media::VideoDecodeAccelerator::PLATFORM_FAILURE); |