| Index: chrome/test/live_sync/live_sync_test.cc
|
| diff --git a/chrome/test/live_sync/live_sync_test.cc b/chrome/test/live_sync/live_sync_test.cc
|
| index 6adba5c26ca466947096d45d59b40ce047a64bee..675604c5b246690c81e3c741a8266f4418c53a8d 100644
|
| --- a/chrome/test/live_sync/live_sync_test.cc
|
| +++ b/chrome/test/live_sync/live_sync_test.cc
|
| @@ -335,6 +335,7 @@ bool LiveSyncTest::SetUpLocalPythonTestServer() {
|
|
|
| net::HostPortPair xmpp_host_port_pair(sync_server_.host_port_pair());
|
| xmpp_host_port_pair.set_port(xmpp_port);
|
| + xmpp_port_.reset(new ScopedPortException(xmpp_port));
|
|
|
| if (!cl->HasSwitch(switches::kSyncNotificationHost)) {
|
| cl->AppendSwitchASCII(switches::kSyncNotificationHost,
|
| @@ -379,6 +380,7 @@ bool LiveSyncTest::TearDownLocalPythonTestServer() {
|
| LOG(ERROR) << "Could not stop local python test server.";
|
| return false;
|
| }
|
| + xmpp_port_.reset();
|
| return true;
|
| }
|
|
|
|
|