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

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

Issue 2625933002: content/gpu: Set up a mojom connection between browser and gpu. (Closed)
Patch Set: . Created 3 years, 11 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 b434c7d011e05f0bc8fc94be70814a45ae4e08f5..c3bc4265cdbfdca4f26f156cdd57d07bdea67944 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -613,6 +613,10 @@ bool GpuProcessHost::Init() {
return false;
}
+ process_->child_channel()
+ ->GetAssociatedInterfaceSupport()
+ ->GetRemoteAssociatedInterface(&gpu_main_ptr_);
+
if (!Send(new GpuMsg_Initialize(gpu_preferences)))
return false;

Powered by Google App Engine
This is Rietveld 408576698