summaryrefslogtreecommitdiffstats
path: root/sync/tools/testserver
diff options
context:
space:
mode:
authorrvargas <rvargas@chromium.org>2014-12-09 16:40:59 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-10 00:41:55 +0000
commit35c97c6aa70c456c1245373fbdada2f02e902dac (patch)
treec3c64632e20ed83d08a278c6b4b84c5108fd9b22 /sync/tools/testserver
parent66441d764cc721b0bf065003115edbcc803191a3 (diff)
downloadchromium_src-35c97c6aa70c456c1245373fbdada2f02e902dac.zip
chromium_src-35c97c6aa70c456c1245373fbdada2f02e902dac.tar.gz
chromium_src-35c97c6aa70c456c1245373fbdada2f02e902dac.tar.bz2
Update sync/tools to use the new version of LaunchProcess.
BUG=417532 Review URL: https://codereview.chromium.org/728763004 Cr-Commit-Position: refs/heads/master@{#307599}
Diffstat (limited to 'sync/tools/testserver')
-rw-r--r--sync/tools/testserver/run_sync_testserver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/tools/testserver/run_sync_testserver.cc b/sync/tools/testserver/run_sync_testserver.cc
index 0089963..bb95013 100644
--- a/sync/tools/testserver/run_sync_testserver.cc
+++ b/sync/tools/testserver/run_sync_testserver.cc
@@ -45,7 +45,7 @@ static bool RunSyncTest(
}
python_command.AppendArgPath(sync_test_script_path);
- if (!base::LaunchProcess(python_command, base::LaunchOptions(), NULL)) {
+ if (!base::LaunchProcess(python_command, base::LaunchOptions()).IsValid()) {
LOG(ERROR) << "Failed to launch test script " << sync_test_script_name;
return false;
}