Index: content/gpu/gpu_child_thread.cc |
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc |
index 6056636c6b5d5638b35ae6dad63b906bdcbaf200..9276c71077ede472229b43a2ec3999f1e1f58f0d 100644 |
--- a/content/gpu/gpu_child_thread.cc |
+++ b/content/gpu/gpu_child_thread.cc |
@@ -236,12 +236,12 @@ 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()->RegisterMojoInterfaces(GetInterfaceRegistry()); |
} |
} |