| Index: content/gpu/gpu_child_thread.cc
|
| diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
|
| index 92f6e6fdc2783ccd81a2eab5350135e345fa3858..513c846a22cd817f70240a8ccca5a1802daaf994 100644
|
| --- a/content/gpu/gpu_child_thread.cc
|
| +++ b/content/gpu/gpu_child_thread.cc
|
| @@ -26,6 +26,7 @@
|
| #include "gpu/command_buffer/common/activity_flags.h"
|
| #include "gpu/ipc/service/gpu_watchdog_thread.h"
|
| #include "ipc/ipc_sync_message_filter.h"
|
| +#include "media/gpu/ipc/service/gpu_jpeg_decode_accelerator.h"
|
| #include "media/gpu/ipc/service/media_gpu_channel_manager.h"
|
| #include "services/service_manager/public/cpp/binder_registry.h"
|
| #include "services/service_manager/public/cpp/connector.h"
|
| @@ -208,6 +209,12 @@ void GpuChildThread::Init(const base::Time& process_start_time) {
|
| registry->AddInterface(base::Bind(&GpuChildThread::BindServiceFactoryRequest,
|
| weak_factory_.GetWeakPtr()),
|
| base::ThreadTaskRunnerHandle::Get());
|
| +
|
| + registry->AddInterface(
|
| + base::Bind(&media::GpuJpegDecodeAccelerator::Create,
|
| + make_scoped_refptr(ChildProcess::current()->io_task_runner())),
|
| + base::ThreadTaskRunnerHandle::Get());
|
| +
|
| if (GetContentClient()->gpu()) // NULL in tests.
|
| GetContentClient()->gpu()->Initialize(this, registry.get());
|
|
|
|
|