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

Unified Diff: ui/ozone/public/ozone_gpu_test_helper.cc

Issue 2459973002: Expedite discovery of primary DRM device. (Closed)
Patch Set: Send the first AddGraphicsDevice IPC synchronously on IO thread. Created 4 years, 1 month 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: ui/ozone/public/ozone_gpu_test_helper.cc
diff --git a/ui/ozone/public/ozone_gpu_test_helper.cc b/ui/ozone/public/ozone_gpu_test_helper.cc
index c1347fcb6be3838f57512b1b524ee9bcbdf9c388..6ab095ef0dfc09a967e8707893e25ecd313150f0 100644
--- a/ui/ozone/public/ozone_gpu_test_helper.cc
+++ b/ui/ozone/public/ozone_gpu_test_helper.cc
@@ -106,7 +106,11 @@ class FakeGpuProcessHost {
ui::OzonePlatform::GetInstance()
->GetGpuPlatformSupportHost()
- ->OnChannelEstablished(kGpuProcessHostId, gpu_io_task_runner_, sender);
+ ->OnGpuProcessLaunched(kGpuProcessHostId, gpu_io_task_runner_, sender);
+
+ ui::OzonePlatform::GetInstance()
+ ->GetGpuPlatformSupportHost()
+ ->OnChannelEstablished();
}
private:

Powered by Google App Engine
This is Rietveld 408576698