diff --git a/test/cctest/test_platform.cc b/test/cctest/test_platform.cc index 8aed5c007e0efb..54bcc97ecc8866 100644 --- a/test/cctest/test_platform.cc +++ b/test/cctest/test_platform.cc @@ -25,8 +25,7 @@ class RepostingTask : public v8::Task { --repost_count_; std::shared_ptr task_runner = platform_->GetForegroundTaskRunner( - isolate_, - v8::TaskPriority::kUserBlocking); + isolate_, v8::TaskPriority::kUserBlocking); task_runner->PostTask(std::make_unique( repost_count_, run_count_, isolate_, platform_)); } @@ -48,7 +47,8 @@ TEST_F(PlatformTest, SkipNewTasksInFlushForegroundTasks) { Env env {handle_scope, argv}; int run_count = 0; std::shared_ptr task_runner = - platform->GetForegroundTaskRunner(isolate_, v8::TaskPriority::kUserBlocking); + platform->GetForegroundTaskRunner( + isolate_, v8::TaskPriority::kUserBlocking); task_runner->PostTask( std::make_unique(2, &run_count, isolate_, platform.get())); EXPECT_TRUE(platform->FlushForegroundTasks(isolate_));