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

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

Issue 2820463002: gpu: Completely remove GpuProcessHostUIShim. (Closed)
Patch Set: . Created 3 years, 8 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
« no previous file with comments | « ui/ozone/public/gpu_platform_support_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a08b088404ee6999008cc784d203b37f5b811cdb..55fc4b40b2145eec0497724b2b970c4672fb13b4 100644
--- a/ui/ozone/public/ozone_gpu_test_helper.cc
+++ b/ui/ozone/public/ozone_gpu_test_helper.cc
@@ -84,13 +84,8 @@ class FakeGpuProcessHost {
ui::OzonePlatform::GetInstance()
->GetGpuPlatformSupportHost()
- ->OnGpuProcessLaunched(kGpuProcessHostId, gpu_io_task_runner_, sender);
- }
-
- void InitOnUI() {
- ui::OzonePlatform::GetInstance()
- ->GetGpuPlatformSupportHost()
- ->OnChannelEstablished();
+ ->OnGpuProcessLaunched(kGpuProcessHostId, gpu_task_runner_,
+ gpu_io_task_runner_, sender);
}
private:
@@ -124,7 +119,6 @@ bool OzoneGpuTestHelper::Initialize(
base::Unretained(fake_gpu_process_host_.get())));
io_helper_thread_->FlushForTesting();
- fake_gpu_process_host_->InitOnUI();
return true;
}
« no previous file with comments | « ui/ozone/public/gpu_platform_support_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698