Index: components/storage_monitor/storage_monitor_linux.cc |
diff --git a/components/storage_monitor/storage_monitor_linux.cc b/components/storage_monitor/storage_monitor_linux.cc |
index 9d0b75a48c70a7c18cbfe5d929b527c1fdd5313b..991585b7b7aafbb6c239119895e0926c9f3eabd4 100644 |
--- a/components/storage_monitor/storage_monitor_linux.cc |
+++ b/components/storage_monitor/storage_monitor_linux.cc |
@@ -222,7 +222,7 @@ StorageMonitor::EjectStatus EjectPathOnFileThread( |
if (!base::WaitForExitCodeWithTimeout(handle, &exit_code, |
base::TimeDelta::FromMilliseconds(3000))) { |
base::KillProcess(handle, -1, false); |
- base::EnsureProcessTerminated(handle); |
+ base::EnsureProcessTerminated(base::Process(handle)); |
return StorageMonitor::EJECT_FAILURE; |
} |