X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fchrome%2Finstaller%2Futil%2Fgoogle_update_util.cc;h=1b8c74d445966757499c2ccd21fabf1d4433b93e;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=d3013bac30dcce654d7bc51174217ed14b06259b;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/chrome/installer/util/google_update_util.cc b/src/chrome/installer/util/google_update_util.cc index d3013ba..1b8c74d 100644 --- a/src/chrome/installer/util/google_update_util.cc +++ b/src/chrome/installer/util/google_update_util.cc @@ -5,8 +5,8 @@ #include "chrome/installer/util/google_update_util.h" #include "base/command_line.h" -#include "base/file_util.h" #include "base/files/file_path.h" +#include "base/files/file_util.h" #include "base/logging.h" #include "base/path_service.h" #include "base/process/kill.h" @@ -95,7 +95,8 @@ bool LaunchProcessAndWaitWithTimeout(const base::string16& cmd_string, if (!base::LaunchProcess(cmd_string, base::LaunchOptions(), &process)) { PLOG(ERROR) << "Failed to launch (" << cmd_string << ")"; - } else if (!base::WaitForExitCodeWithTimeout(process, &exit_code, timeout)) { + } else if (!base::WaitForExitCodeWithTimeout(process.Get(), &exit_code, + timeout)) { // The GetExitCodeProcess failed or timed-out. LOG(ERROR) <<"Command (" << cmd_string << ") is taking more than " << timeout.InMilliseconds() << " milliseconds to complete.";