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

Unified Diff: content/browser/gpu/gpu_process_host.cc

Issue 2688193002: Mojo framework for AndroidOverlay. (Closed)
Patch Set: moved UI thread mojo init to Gpu...UIShim Created 3 years, 10 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
Index: content/browser/gpu/gpu_process_host.cc
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
index 4aabfd167311f7e7bd0ab2e5047601a811a3685a..5697262555bbd80c1f8f2468d48b5c195dc7a9be 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -332,6 +332,11 @@ class GpuProcessHost::ConnectionFilterImpl : public ConnectionFilter {
GetContentClient()->browser()->ExposeInterfacesToGpuProcess(registry,
host_);
+
+#if defined(OS_ANDROID)
+ GpuProcessHostUIShim::RegisterUIThreadMojoInterfaces(registry);
+#endif
+
return true;
}
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host_ui_shim.h » ('j') | content/browser/gpu/gpu_process_host_ui_shim.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698