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

Unified Diff: content/renderer/gpu/gpu_channel_host.h

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: Replaced struct with explicit profile parameter. 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/gpu_channel_host.h
diff --git a/content/renderer/gpu/gpu_channel_host.h b/content/renderer/gpu/gpu_channel_host.h
index 44065bb14218f9bec211b9bde42673764e5a9d71..4bd9fbbd96533a5ed0e733c503334d614da8e7c9 100644
--- a/content/renderer/gpu/gpu_channel_host.h
+++ b/content/renderer/gpu/gpu_channel_host.h
@@ -95,7 +95,7 @@ class GpuChannelHost : public IPC::Message::Sender,
// Returned pointer is owned by the CommandBufferProxy for |route_id|.
GpuVideoDecodeAcceleratorHost* CreateVideoDecoder(
int command_buffer_route_id,
- const std::vector<int32>& configs,
+ media::VideoDecodeAccelerator::Profile profile,
media::VideoDecodeAccelerator::Client* client);
// Destroy a command buffer created by this channel.

Powered by Google App Engine
This is Rietveld 408576698