| Index: content/gpu/gpu_child_thread.cc
|
| diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
|
| index 2552d82bff45b05b95e07cefe211a29b8237753e..6ea7e2ec22010e863e109012fbb8aa56e641af59 100644
|
| --- a/content/gpu/gpu_child_thread.cc
|
| +++ b/content/gpu/gpu_child_thread.cc
|
| @@ -20,6 +20,7 @@
|
| #include "content/gpu/gpu_watchdog_thread.h"
|
| #include "content/public/common/content_client.h"
|
| #include "content/public/common/content_switches.h"
|
| +#include "content/public/gpu/content_gpu_client.h"
|
| #include "gpu/config/gpu_info_collector.h"
|
| #include "ipc/ipc_channel_handle.h"
|
| #include "ipc/ipc_sync_message_filter.h"
|
| @@ -205,6 +206,9 @@ void GpuChildThread::Init(const base::Time& process_start_time) {
|
| // will be destroyed before GpuChildThread is destructed.
|
| service_registry()->AddService(base::Bind(
|
| &GpuChildThread::BindProcessControlRequest, base::Unretained(this)));
|
| +
|
| + if (GetContentClient()->gpu()) // NULL in tests.
|
| + GetContentClient()->gpu()->RegisterMojoServices(service_registry());
|
| }
|
|
|
| bool GpuChildThread::Send(IPC::Message* msg) {
|
|
|