Index: chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_runner_win.cc |
diff --git a/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_runner_win.cc b/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_runner_win.cc |
index e5066b40a58ffd29e9478df4a5546e1ca73c0227..30454fb1bc866bbf6fb0363c66b938bbecad338a 100644 |
--- a/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_runner_win.cc |
+++ b/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_runner_win.cc |
@@ -142,11 +142,9 @@ ChromeCleanerRunner::LaunchAndWaitForExitOnBackgroundThread() { |
chrome_cleaner::kChromeMojoPipeTokenSwitch, mojo_pipe_token); |
mojo::edk::PlatformChannelPair channel; |
- base::HandlesToInheritVector handles_to_inherit; |
- channel.PrepareToPassClientHandleToChildProcess(&cleaner_command_line_, |
- &handles_to_inherit); |
base::LaunchOptions launch_options; |
- launch_options.handles_to_inherit = &handles_to_inherit; |
+ channel.PrepareToPassClientHandleToChildProcess( |
+ &cleaner_command_line_, &launch_options.handles_to_inherit); |
base::Process cleaner_process = |
g_test_delegate |