Index: base/process/kill_win.cc |
diff --git a/base/process/kill_win.cc b/base/process/kill_win.cc |
index 2911b36c2f426de689197c11349b6cb4445eecb0..79e5ded316e85a1d87cb57ec2db69c53ff1eeb6e 100644 |
--- a/base/process/kill_win.cc |
+++ b/base/process/kill_win.cc |
@@ -144,9 +144,7 @@ void EnsureProcessTerminated(Process process) { |
PostDelayedTaskWithTraits( |
FROM_HERE, |
- TaskTraits() |
- .WithPriority(TaskPriority::BACKGROUND) |
- .WithShutdownBehavior(TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN), |
+ {TaskPriority::BACKGROUND, TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, |
Bind( |
[](Process process) { |
if (WaitForSingleObject(process.Handle(), 0) == WAIT_OBJECT_0) |