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

Unified Diff: third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp

Issue 2508033004: Reduce unnecessary usage of TextCaseSensitivity::TextCaseInsensitive. (Closed)
Patch Set: Created 4 years, 1 month 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/modules/filesystem/DOMFilePath.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp b/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp
index 3555e059f99623c4ae585955a3dceb2408150cd2..6b9f64bde2380ee615d8376fff456d4bc7dc83f8 100644
--- a/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp
@@ -71,7 +71,7 @@ bool DOMFilePath::isParentOf(const String& parent, const String& mayBeChild) {
if (parent == DOMFilePath::root && mayBeChild != DOMFilePath::root)
return true;
if (parent.length() >= mayBeChild.length() ||
- !mayBeChild.startsWith(parent, TextCaseInsensitive))
+ !mayBeChild.startsWith(parent, TextCaseUnicodeInsensitive))
return false;
if (mayBeChild[parent.length()] != DOMFilePath::separator)
return false;
« no previous file with comments | « third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp ('k') | third_party/WebKit/Source/modules/nfc/NFC.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698