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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 2864603002: Provide callback to create mojo AndroidOverlays to AVDA. (Closed)
Patch Set: fixed deps Created 3 years, 7 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/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index 91f1fcb20fe7326accccda5603b5528b5a1e67f9..d62d0a554aac4b40a42ebd0aa2ea7a6345e85f58 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -283,6 +283,11 @@ void GpuChildThread::CreateGpuService(
service_factory_.reset(new GpuServiceFactory(
gpu_service_->media_gpu_channel_manager()->AsWeakPtr()));
+#if defined(OS_ANDROID)
+ gpu_service_->media_gpu_channel_manager()->SetMojoConnector(
+ ChildThread::Get()->GetConnector(), content::mojom::kBrowserServiceName);
+#endif
+
if (GetContentClient()->gpu()) // NULL in tests.
GetContentClient()->gpu()->GpuServiceInitialized(gpu_preferences);

Powered by Google App Engine
This is Rietveld 408576698