Index: chrome/common/net/notifier/communicator/connection_settings.cc |
diff --git a/chrome/common/net/notifier/communicator/connection_settings.cc b/chrome/common/net/notifier/communicator/connection_settings.cc |
index 00803224d69c6fdeee3e88880f753bf47421849d..39005a204904e0304b872f3567877f741f3ec13b 100644 |
--- a/chrome/common/net/notifier/communicator/connection_settings.cc |
+++ b/chrome/common/net/notifier/communicator/connection_settings.cc |
@@ -17,7 +17,7 @@ namespace notifier { |
class RandomGenerator { |
public: |
int operator()(int ceiling) { |
- return static_cast<int>(cricket::CreateRandomId() % ceiling); |
+ return static_cast<int>(talk_base::CreateRandomId() % ceiling); |
} |
}; |
@@ -58,7 +58,7 @@ void ConnectionSettingsList::AddPermutations(const std::string& hostname, |
// Permute addresses for this server. In some cases we haven't resolved the |
// to ip addresses. |
- talk_base::SocketAddress server(hostname, port, false); |
+ talk_base::SocketAddress server(hostname, port); |
if (iplist_random.empty()) { |
// We couldn't pre-resolve the hostname, so let's hope it will resolve |
// further down the pipeline (by a proxy, for example). |