Last active
October 16, 2018 22:19
-
-
Save chinmaygarde/5b1b75016869163a20879d1bf058036c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/shell/testing/tester_main.cc b/shell/testing/tester_main.cc | |
| index 207e35301..1eb47637e 100644 | |
| --- a/shell/testing/tester_main.cc | |
| +++ b/shell/testing/tester_main.cc | |
| @@ -96,12 +96,16 @@ int RunTester(const blink::Settings& settings, bool run_forever) { | |
| auto current_task_runner = fml::MessageLoop::GetCurrent().GetTaskRunner(); | |
| + ThreadHost host("whatever", ThreadHost::Type::UI | ThreadHost::Type::GPU | | |
| + ThreadHost::Type::IO); | |
| + | |
| // Setup a single threaded test runner configuration. | |
| - const blink::TaskRunners task_runners(thread_label, // dart thread label | |
| - current_task_runner, // platform | |
| - current_task_runner, // gpu | |
| - current_task_runner, // ui | |
| - current_task_runner // io | |
| + const blink::TaskRunners task_runners( | |
| + thread_label, // dart thread label | |
| + current_task_runner, // platform | |
| + host.gpu_thread->GetTaskRunner(), // gpu | |
| + host.ui_thread->GetTaskRunner(), // ui | |
| + host.io_thread->GetTaskRunner() // io | |
| ); | |
| Shell::CreateCallback<PlatformView> on_create_platform_view = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment