Commit 7c6d2d0d authored by Gyuyoung Kim's avatar Gyuyoung Kim Committed by Commit Bot

CustomHandler: Replace a call to DeprecatedLower with a non-deprecated one

Call LowerASCII() instead of DeprecatedLower().Ascii() because we've been using after
converting to ASCII().

Bug: 627682
Change-Id: I93315ec3ff51da0ae62dcdd13beddffed4b369fc
Reviewed-on: https://chromium-review.googlesource.com/c/1335050Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Gyuyoung Kim <gyuyoung.kim@lge.com>
Cr-Commit-Position: refs/heads/master@{#607923}
parent 3c7f0a71
...@@ -92,7 +92,7 @@ static bool IsSchemeWhitelisted(const String& scheme) { ...@@ -92,7 +92,7 @@ static bool IsSchemeWhitelisted(const String& scheme) {
InitCustomSchemeHandlerWhitelist(); InitCustomSchemeHandlerWhitelist();
StringBuilder builder; StringBuilder builder;
builder.Append(scheme.DeprecatedLower().Ascii().data()); builder.Append(scheme.LowerASCII());
return g_scheme_whitelist->Contains(builder.ToString()); return g_scheme_whitelist->Contains(builder.ToString());
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment