| Index: extensions/common/permissions/socket_permission_entry.cc
|
| diff --git a/extensions/common/permissions/socket_permission_entry.cc b/extensions/common/permissions/socket_permission_entry.cc
|
| index 86c61de043f5e651303a35567a2d381c9cb0263a..012eda001b4c03df14d440158b68095019ca9d18 100644
|
| --- a/extensions/common/permissions/socket_permission_entry.cc
|
| +++ b/extensions/common/permissions/socket_permission_entry.cc
|
| @@ -75,7 +75,7 @@ bool SocketPermissionEntry::Check(
|
| if (pattern_.type != request.type)
|
| return false;
|
|
|
| - std::string lhost = base::StringToLowerASCII(request.host);
|
| + std::string lhost = base::ToLowerASCII(request.host);
|
| if (pattern_.host != lhost) {
|
| if (!match_subdomains_)
|
| return false;
|
| @@ -166,7 +166,7 @@ bool SocketPermissionEntry::ParseHostPattern(
|
| if (!result.pattern_.host.empty()) {
|
| if (StartsOrEndsWithWhitespace(result.pattern_.host))
|
| return false;
|
| - result.pattern_.host = base::StringToLowerASCII(result.pattern_.host);
|
| + result.pattern_.host = base::ToLowerASCII(result.pattern_.host);
|
|
|
| // The first component can optionally be '*' to match all subdomains.
|
| std::vector<std::string> host_components =
|
|
|