Index: content/gpu/gpu_child_thread.cc |
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc |
index da636425dc0810f6663ca01facfce4d78c6ffb4a..2f05bb5f907bf75231814ff39e672059ecfef92f 100644 |
--- a/content/gpu/gpu_child_thread.cc |
+++ b/content/gpu/gpu_child_thread.cc |
@@ -222,12 +222,13 @@ void GpuChildThread::Init(const base::Time& process_start_time) { |
// Use of base::Unretained(this) is safe here because |service_registry()| |
// will be destroyed before GpuChildThread is destructed. |
- interface_registry()->AddInterface(base::Bind( |
+ GetInterfaceRegistry()->AddInterface(base::Bind( |
&GpuChildThread::BindProcessControlRequest, base::Unretained(this))); |
if (GetContentClient()->gpu()) { // NULL in tests. |
GetContentClient()->gpu()->Initialize(this); |
- GetContentClient()->gpu()->RegisterMojoInterfaces(interface_registry()); |
+ GetContentClient()->gpu()->ExposeInterfacesToBrowser( |
+ GetInterfaceRegistry()); |
} |
} |