| Index: third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
|
| diff --git a/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp b/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
|
| index 8373c5d194c075ced04cde02449323544fe940b6..ccb2d8fc30b5046ec9fe023c268623bb4917876f 100644
|
| --- a/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
|
| +++ b/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp
|
| @@ -107,9 +107,7 @@ static bool isSchemeWhitelisted(const String& scheme)
|
| initCustomSchemeHandlerWhitelist();
|
|
|
| StringBuilder builder;
|
| - unsigned length = scheme.length();
|
| - for (unsigned i = 0; i < length; ++i)
|
| - builder.append(toASCIILower(scheme[i]));
|
| + builder.append(scheme.lower().ascii().data());
|
|
|
| return schemeWhitelist->contains(builder.toString());
|
| }
|
|
|