Index: content/renderer/media/webrtc/stun_field_trial.cc |
diff --git a/content/renderer/media/webrtc/stun_field_trial.cc b/content/renderer/media/webrtc/stun_field_trial.cc |
index 2d155a4305990996b39d31940c00465f8b80c9ac..41be3588a749b09ce5071862cd892effe1095dca 100644 |
--- a/content/renderer/media/webrtc/stun_field_trial.cc |
+++ b/content/renderer/media/webrtc/stun_field_trial.cc |
@@ -133,8 +133,8 @@ bool ParseStunProbeParameters(const std::string& params, |
int* interval_ms, |
int* shared_socket_mode, |
std::vector<rtc::SocketAddress>* servers) { |
- std::vector<std::string> stun_params; |
- base::SplitString(params, '/', &stun_params); |
+ std::vector<std::string> stun_params = base::SplitString( |
+ params, "/", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
if (stun_params.size() < 4) { |
DLOG(ERROR) << "Not enough parameters specified in StartStunProbeTrial"; |