summaryrefslogtreecommitdiffstats
path: root/net/test/local_sync_test_server.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/test/local_sync_test_server.cc')
-rw-r--r--net/test/local_sync_test_server.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/test/local_sync_test_server.cc b/net/test/local_sync_test_server.cc
index 8d757f8..432fde1 100644
--- a/net/test/local_sync_test_server.cc
+++ b/net/test/local_sync_test_server.cc
@@ -29,7 +29,8 @@ LocalSyncTestServer::~LocalSyncTestServer() {}
bool LocalSyncTestServer::AddCommandLineArguments(
CommandLine* command_line) const {
- LocalTestServer::AddCommandLineArguments(command_line);
+ if (!LocalTestServer::AddCommandLineArguments(command_line))
+ return false;
if (xmpp_port_ != 0) {
std::string xmpp_port_str = base::IntToString(xmpp_port_);
command_line->AppendArg("--xmpp-port=" + xmpp_port_str);