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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptRegexp.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptRegexp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ScriptRegexp.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptRegexp.h b/third_party/WebKit/Source/bindings/core/v8/ScriptRegexp.h
index a3aceb1c32184ace51b5477ee5663c7e3a0017a5..21b7d7674a6601278dc9093beca7caefe40741a0 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptRegexp.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptRegexp.h
@@ -47,6 +47,8 @@ class CORE_EXPORT ScriptRegexp {
UTF16, // NOLINT
};
+ // For TextCaseSensitivity argument, TextCaseASCIIInsensitive and
+ // TextCaseUnicodeInsensitive has identical behavior. They just add "i" flag.
ScriptRegexp(const String&,
TextCaseSensitivity,
MultilineMode = MultilineDisabled,
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptRegexp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698