Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1555)

Unified Diff: third_party/WebKit/Source/platform/weborigin/SchemeRegistry.cpp

Issue 2333753002: Remove equalIgnoringCase in Source/platform/weborigin/ (Closed)
Patch Set: Rebase to master Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/weborigin/SchemeRegistry.cpp
diff --git a/third_party/WebKit/Source/platform/weborigin/SchemeRegistry.cpp b/third_party/WebKit/Source/platform/weborigin/SchemeRegistry.cpp
index be2b12a73abe0d0073b16f27784e144367be8372..7960d638563c0ca731b43cc00600b2fb1b5068f7 100644
--- a/third_party/WebKit/Source/platform/weborigin/SchemeRegistry.cpp
+++ b/third_party/WebKit/Source/platform/weborigin/SchemeRegistry.cpp
@@ -300,7 +300,7 @@ bool SchemeRegistry::isDomainRelaxationForbiddenForURLScheme(const String& schem
bool SchemeRegistry::canDisplayOnlyIfCanRequest(const String& scheme)
{
- return equalIgnoringCase("blob", scheme) || equalIgnoringCase("filesystem", scheme);
+ return equalIgnoringASCIICase("blob", scheme) || equalIgnoringASCIICase("filesystem", scheme);
}
void SchemeRegistry::registerURLSchemeAsNotAllowingJavascriptURLs(const String& scheme)
@@ -353,7 +353,7 @@ String SchemeRegistry::listOfCORSEnabledURLSchemes()
bool SchemeRegistry::shouldTreatURLSchemeAsLegacy(const String& scheme)
{
- return equalIgnoringCase("ftp", scheme) || equalIgnoringCase("gopher", scheme);
+ return equalIgnoringASCIICase("ftp", scheme) || equalIgnoringASCIICase("gopher", scheme);
}
void SchemeRegistry::registerURLSchemeAsAllowingServiceWorkers(const String& scheme)

Powered by Google App Engine
This is Rietveld 408576698