Index: chrome/browser/sync/test/integration/sync_test.cc |
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc |
index 9855ecc3daa4b4118dbba05fff99b51439d7c129..1499e3a26ac7b94d6848ea18898145a5e892eac9 100644 |
--- a/chrome/browser/sync/test/integration/sync_test.cc |
+++ b/chrome/browser/sync/test/integration/sync_test.cc |
@@ -475,8 +475,8 @@ bool SyncTest::SetUpLocalPythonTestServer() { |
xmpp_host_port_pair.set_port(xmpp_port); |
xmpp_port_.reset(new net::ScopedPortException(xmpp_port)); |
- if (!cl->HasSwitch(switches::kSyncNotificationHost)) { |
- cl->AppendSwitchASCII(switches::kSyncNotificationHost, |
+ if (!cl->HasSwitch(switches::kSyncNotificationHostPort)) { |
+ cl->AppendSwitchASCII(switches::kSyncNotificationHostPort, |
xmpp_host_port_pair.ToString()); |
// The local XMPP server only supports insecure connections. |
cl->AppendSwitch(switches::kSyncAllowInsecureXmppConnection); |