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

Unified Diff: content/public/browser/gpu_service_registry.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/public/browser/gpu_service_registry.h ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/gpu_service_registry.cc
diff --git a/content/public/browser/gpu_service_registry.cc b/content/public/browser/gpu_service_registry.cc
index e6a2ba740d2f6811b872ce903846b5ca6386a592..1bfe219246c9948f124b0c51a3520d7f68679ab4 100644
--- a/content/public/browser/gpu_service_registry.cc
+++ b/content/public/browser/gpu_service_registry.cc
@@ -5,14 +5,15 @@
#include "content/public/browser/gpu_service_registry.h"
#include "content/browser/gpu/gpu_process_host.h"
+#include "services/shell/public/cpp/interface_provider.h"
namespace content {
-ServiceRegistry* GetGpuServiceRegistry() {
+shell::InterfaceProvider* GetGpuInterfaceProvider() {
GpuProcessHost* host =
GpuProcessHost::Get(GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED,
CAUSE_FOR_GPU_LAUNCH_GET_GPU_SERVICE_REGISTRY);
- return host->GetServiceRegistry();
+ return host->GetRemoteInterfaces();
}
} // namespace content
« no previous file with comments | « content/public/browser/gpu_service_registry.h ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698