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

Unified Diff: third_party/WebKit/Source/platform/text/SegmentedString.h

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/platform/text/SegmentedString.h
diff --git a/third_party/WebKit/Source/platform/text/SegmentedString.h b/third_party/WebKit/Source/platform/text/SegmentedString.h
index 49f00fab74dedfefba7429f5165e6ea9da23c8b1..29e56aad6a8099530a5669c0901c3213e58c59b5 100644
--- a/third_party/WebKit/Source/platform/text/SegmentedString.h
+++ b/third_party/WebKit/Source/platform/text/SegmentedString.h
@@ -224,7 +224,7 @@ class PLATFORM_EXPORT SegmentedString {
return lookAheadInline(string, TextCaseSensitive);
}
LookAheadResult lookAheadIgnoringCase(const String& string) {
- return lookAheadInline(string, TextCaseInsensitive);
+ return lookAheadInline(string, TextCaseASCIIInsensitive);
}
void advance() {

Powered by Google App Engine
This is Rietveld 408576698