Index: content/common/gpu/client/gpu_channel_host.cc |
diff --git a/content/common/gpu/client/gpu_channel_host.cc b/content/common/gpu/client/gpu_channel_host.cc |
index aa47e2fd677bad9d115abb27209433292689fe57..639cabd1e3a4e351aa915b91aa247f977140960d 100644 |
--- a/content/common/gpu/client/gpu_channel_host.cc |
+++ b/content/common/gpu/client/gpu_channel_host.cc |
@@ -13,6 +13,7 @@ |
#include "base/threading/thread_restrictions.h" |
#include "base/trace_event/trace_event.h" |
#include "content/common/gpu/client/command_buffer_proxy_impl.h" |
+#include "content/common/gpu/client/gpu_jpeg_decode_accelerator_host.h" |
#include "content/common/gpu/gpu_messages.h" |
#include "ipc/ipc_sync_message_filter.h" |
#include "url/gurl.h" |
@@ -297,6 +298,14 @@ void GpuChannelHost::RemoveRoute(int route_id) { |
channel_filter_.get(), route_id)); |
} |
+GpuJpegDecodeAcceleratorHost* GpuChannelHost::CreateJpegDecoder() { |
+ TRACE_EVENT0("gpu", "GpuChannelHost::CreateJpegDecoder"); |
+ |
+ GpuJpegDecodeAcceleratorHost* decoder = |
+ new GpuJpegDecodeAcceleratorHost(this); |
+ return decoder; |
+} |
+ |
base::SharedMemoryHandle GpuChannelHost::ShareToGpuProcess( |
base::SharedMemoryHandle source_handle) { |
if (IsLost()) |