Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1235)

Unified Diff: content/renderer/gpu/command_buffer_proxy.cc

Issue 7779001: Replace the use of an int32* with a proper struct for decoder configuration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/gpu/command_buffer_proxy.cc
diff --git a/content/renderer/gpu/command_buffer_proxy.cc b/content/renderer/gpu/command_buffer_proxy.cc
index c62210c311298cde6094dfe4410bd589c4854117..9187152a03db0eeca348c2d1290190993e16cf1d 100644
--- a/content/renderer/gpu/command_buffer_proxy.cc
+++ b/content/renderer/gpu/command_buffer_proxy.cc
@@ -401,10 +401,10 @@ void CommandBufferProxy::SetNotifyRepaintTask(Task* task) {
scoped_refptr<GpuVideoDecodeAcceleratorHost>
CommandBufferProxy::CreateVideoDecoder(
- const std::vector<int32>& configs,
+ const media::VideoDecodeAccelerator::Config& config,
media::VideoDecodeAccelerator::Client* client) {
int decoder_route_id;
- if (!Send(new GpuCommandBufferMsg_CreateVideoDecoder(route_id_, configs,
+ if (!Send(new GpuCommandBufferMsg_CreateVideoDecoder(route_id_, config,
&decoder_route_id))) {
LOG(ERROR) << "Send(GpuChannelMsg_CreateVideoDecoder) failed";
return NULL;

Powered by Google App Engine
This is Rietveld 408576698