| Index: net/dns/host_resolver.cc
|
| diff --git a/net/dns/host_resolver.cc b/net/dns/host_resolver.cc
|
| index 06128b5b83b263566b96f6d6bde3ad6494b8e144..deacb2d9a62f4a719ef0d56badd2fa26a0e5ea77 100644
|
| --- a/net/dns/host_resolver.cc
|
| +++ b/net/dns/host_resolver.cc
|
| @@ -47,9 +47,8 @@ PrioritizedDispatcher::Limits HostResolver::Options::GetDispatcherLimits()
|
| // The format of the group name is a list of non-negative integers separated
|
| // by ':'. Each of the elements in the list corresponds to an element in
|
| // |reserved_slots|, except the last one which is the |total_jobs|.
|
| -
|
| - std::vector<std::string> group_parts;
|
| - base::SplitString(group, ':', &group_parts);
|
| + std::vector<base::StringPiece> group_parts = base::SplitStringPiece(
|
| + group, ":", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
| if (group_parts.size() != NUM_PRIORITIES + 1) {
|
| NOTREACHED();
|
| return limits;
|
|
|