| Index: content/browser/gpu/gpu_process_host.cc
|
| diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
|
| index 80b91519ebe76f6d8fa73659d8f795b09c04c44a..00b95d4ea1a11e28f792002011616136b19a3b66 100644
|
| --- a/content/browser/gpu/gpu_process_host.cc
|
| +++ b/content/browser/gpu/gpu_process_host.cc
|
| @@ -57,6 +57,8 @@
|
| #include "ipc/message_filter.h"
|
| #include "media/base/media_switches.h"
|
| #include "mojo/edk/embedder/embedder.h"
|
| +#include "services/shell/public/cpp/interface_provider.h"
|
| +#include "services/shell/public/cpp/interface_registry.h"
|
| #include "ui/base/ui_base_switches.h"
|
| #include "ui/events/latency_info.h"
|
| #include "ui/gl/gl_switches.h"
|
| @@ -921,8 +923,12 @@ void GpuProcessHost::OnProcessCrashed(int exit_code) {
|
| process_->GetTerminationStatus(true /* known_dead */, NULL));
|
| }
|
|
|
| -ServiceRegistry* GpuProcessHost::GetServiceRegistry() {
|
| - return mojo_application_host_->service_registry();
|
| +shell::InterfaceRegistry* GpuProcessHost::GetInterfaceRegistry() {
|
| + return mojo_application_host_->interface_registry();
|
| +}
|
| +
|
| +shell::InterfaceProvider* GpuProcessHost::GetRemoteInterfaces() {
|
| + return mojo_application_host_->remote_interfaces();
|
| }
|
|
|
| GpuProcessHost::GpuProcessKind GpuProcessHost::kind() {
|
|
|