Index: content/common/gpu/gpu_command_buffer_stub.cc |
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc |
index 2f1caecedf5742b1e835e29d2ea27fe608b231f3..bebce90cc33203e9876e84f57885c0310a1f77e8 100644 |
--- a/content/common/gpu/gpu_command_buffer_stub.cc |
+++ b/content/common/gpu/gpu_command_buffer_stub.cc |
@@ -537,7 +537,7 @@ void GpuCommandBufferStub::ReportState() { |
} |
void GpuCommandBufferStub::OnCreateVideoDecoder( |
- const std::vector<int32>& configs, |
+ media::VideoDecodeAccelerator::Profile profile, |
IPC::Message* reply_message) { |
int decoder_route_id = channel_->GenerateRouteID(); |
GpuCommandBufferMsg_CreateVideoDecoder::WriteReplyParams( |
@@ -546,7 +546,7 @@ void GpuCommandBufferStub::OnCreateVideoDecoder( |
new GpuVideoDecodeAccelerator(this, decoder_route_id, this); |
video_decoders_.AddWithID(decoder, decoder_route_id); |
channel_->AddRoute(decoder_route_id, decoder); |
- decoder->Initialize(configs, reply_message); |
+ decoder->Initialize(profile, reply_message); |
} |
void GpuCommandBufferStub::OnDestroyVideoDecoder(int decoder_route_id) { |