Chromium Code Reviews| Index: webrtc/p2p/client/basicportallocator.cc |
| diff --git a/webrtc/p2p/client/basicportallocator.cc b/webrtc/p2p/client/basicportallocator.cc |
| index 21c8921f4024c51b3679471595a97dae199c1625..cf1562a4eeabb381151d74c53ed990ff68d13d55 100644 |
| --- a/webrtc/p2p/client/basicportallocator.cc |
| +++ b/webrtc/p2p/client/basicportallocator.cc |
| @@ -241,8 +241,8 @@ void BasicPortAllocatorSession::GetPortConfigurations() { |
| username(), |
| password()); |
| - for (size_t i = 0; i < allocator_->relays().size(); ++i) { |
| - config->AddRelay(allocator_->relays()[i]); |
| + for (const RelayServerConfig& relay : allocator_->relays()) { |
|
pthatcher1
2015/10/20 18:31:26
relay_server
|
| + config->AddRelay(relay); |
| } |
| ConfigReady(config); |
| } |