Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(756)

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 2079943002: Change RenderFrame to use InterfaceRegistry et al. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a2
Patch Set: . Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/browser/android/service_registry_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index 334be83e26deb9936f4c04f5ecc8d1b5105639b0..6056636c6b5d5638b35ae6dad63b906bdcbaf200 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.
- service_registry()->AddService(base::Bind(
+ interface_registry()->AddInterface(base::Bind(
&GpuChildThread::BindProcessControlRequest, base::Unretained(this)));
if (GetContentClient()->gpu()) { // NULL in tests.
GetContentClient()->gpu()->Initialize(this);
- GetContentClient()->gpu()->RegisterMojoServices(service_registry());
+ GetContentClient()->gpu()->RegisterMojoInterfaces(interface_registry());
}
}
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/browser/android/service_registry_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698