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

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

Issue 821133006: ozone: Dispatch GPU process IPCs to IO thread directly from GpuPlatformSupportHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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_ui_shim.cc
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc
index fccd96ff3ed91d590b7e21dbef29373af9368727..5faeca2a51cfffe022965bf892e1d4443409fad4 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
@@ -113,7 +113,10 @@ GpuProcessHostUIShim::GpuProcessHostUIShim(int host_id)
#if defined(USE_OZONE)
ui::OzonePlatform::GetInstance()
->GetGpuPlatformSupportHost()
- ->OnChannelEstablished(host_id, this);
+ ->OnChannelEstablished(
+ host_id,
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO),
+ base::Bind(&SendOnIOThreadTask, host_id_));
#endif
}
« no previous file with comments | « no previous file | ui/ozone/platform/dri/dri_gpu_platform_support_host.h » ('j') | ui/ozone/public/ui_thread_gpu.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698