Index: chrome/browser/platform_util_linux.cc |
diff --git a/chrome/browser/platform_util_linux.cc b/chrome/browser/platform_util_linux.cc |
index a263b835e8300652cffcbbc56dda57b1e6d950cc..4314762cf63ad5d0b7447ba3c081e0e7ba6dc6b5 100644 |
--- a/chrome/browser/platform_util_linux.cc |
+++ b/chrome/browser/platform_util_linux.cc |
@@ -37,9 +37,9 @@ void XDGUtil(const std::string& util, const std::string& arg) { |
disable_gnome_bug_buddy == std::string("SET_BY_GOOGLE_CHROME")) |
options.environ["GNOME_DISABLE_CRASH_DIALOG"] = std::string(); |
- base::ProcessHandle handle; |
- if (base::LaunchProcess(argv, options, &handle)) |
- base::EnsureProcessGetsReaped(handle); |
+ base::Process process = base::LaunchProcess(argv, options); |
+ if (process.IsValid()) |
+ base::EnsureProcessGetsReaped(process.pid()); |
} |
void XDGOpen(const std::string& path) { |