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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 2096643002: Eliminate MojoApplicationHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mah3
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_resources.gypi ('k') | content/public/app/BUILD.gn » ('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 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());
}
}
« no previous file with comments | « content/content_resources.gypi ('k') | content/public/app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698