| 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;
|
| }
|
|
|
|
|