| Index: net/proxy/proxy_bypass_rules.cc
|
| diff --git a/net/proxy/proxy_bypass_rules.cc b/net/proxy/proxy_bypass_rules.cc
|
| index bb163adc9dcdb45f66c17436d4babf3f55d85f13..9dc403150baedd8ee399b96d33a8b86e810b4510 100644
|
| --- a/net/proxy/proxy_bypass_rules.cc
|
| +++ b/net/proxy/proxy_bypass_rules.cc
|
| @@ -328,12 +328,12 @@ bool ProxyBypassRules::AddRuleFromStringInternal(
|
|
|
| // Special-case hostnames that begin with a period.
|
| // For example, we remap ".google.com" --> "*.google.com".
|
| - if (StartsWithASCII(raw, ".", false))
|
| + if (base::StartsWithASCII(raw, ".", false))
|
| raw = "*" + raw;
|
|
|
| // If suffix matching was asked for, make sure the pattern starts with a
|
| // wildcard.
|
| - if (use_hostname_suffix_matching && !StartsWithASCII(raw, "*", false))
|
| + if (use_hostname_suffix_matching && !base::StartsWithASCII(raw, "*", false))
|
| raw = "*" + raw;
|
|
|
| return AddRuleForHostname(scheme, raw, port);
|
|
|