diff --git a/engine/src/flutter/shell/platform/fuchsia/flutter/vsync_waiter_unittests.cc b/engine/src/flutter/shell/platform/fuchsia/flutter/vsync_waiter_unittests.cc index a6fdee43bb..5f00940e47 100644 --- a/engine/src/flutter/shell/platform/fuchsia/flutter/vsync_waiter_unittests.cc +++ b/engine/src/flutter/shell/platform/fuchsia/flutter/vsync_waiter_unittests.cc @@ -5,6 +5,7 @@ #include #include +#include #include #include @@ -53,7 +54,7 @@ TEST_F(VsyncWaiterTest, AwaitVsync) { thread.reset(new flutter_runner::Thread()); } - async::Loop loop(&kAsyncLoopConfigAttachToThread); + async::Loop loop(&kAsyncLoopConfigAttachToCurrentThread); const flutter::TaskRunners task_runners( "VsyncWaiterTests", // Dart thread labels