| Index: net/http/transport_security_state.cc
|
| diff --git a/net/http/transport_security_state.cc b/net/http/transport_security_state.cc
|
| index b343223430245fc9e3764cf770dba270e3c5b693..4db46964f1d2e0b81f81c1d31cdf87e572244852 100644
|
| --- a/net/http/transport_security_state.cc
|
| +++ b/net/http/transport_security_state.cc
|
| @@ -433,8 +433,7 @@ bool DecodeHSTSPreloadRaw(const std::string& search_hostname,
|
| // |hostname| has already undergone IDN conversion, so should be
|
| // entirely A-Labels. The preload data is entirely normalized to
|
| // lower case.
|
| - base::StringToLowerASCII(&hostname);
|
| -
|
| + hostname = base::ToLowerASCII(hostname);
|
| if (hostname.empty()) {
|
| return true;
|
| }
|
|
|