Chromium Code Reviews| Index: jingle/glue/fake_network_manager.cc |
| =================================================================== |
| --- jingle/glue/fake_network_manager.cc (revision 124888) |
| +++ jingle/glue/fake_network_manager.cc (working copy) |
| @@ -20,7 +20,8 @@ |
| talk_base::SocketAddress socket_address; |
|
Wez
2012/03/09 22:51:52
nit: Can't we SocketAddress socket_address(IPAddre
Ronghua Wu (Left Chromium)
2012/03/09 23:28:47
Then we didn't use the input argument |address|, c
|
| CHECK(IPEndPointToSocketAddress(endpoint, &socket_address)); |
| network_.reset(new talk_base::Network("fake", "Fake Network", |
| - socket_address.ipaddr())); |
| + socket_address.ipaddr(), 32)); |
| + network_->AddIP(socket_address.ipaddr()); |
| } |
| FakeNetworkManager::~FakeNetworkManager() { |