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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptRegexp.h

Issue 1822883002: Merge "Add unicode flag to blink::ScriptRegexp, and measure incompatibility for |pattern| content a… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 9 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
« 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 1735d5cd938349010f6d672779f96cc62e308af3..67bc602dd6335629629e0c7d241d2814d9cbf93a 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptRegexp.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptRegexp.h
@@ -42,7 +42,12 @@ enum MultilineMode {
class ScriptRegexp {
USING_FAST_MALLOC(ScriptRegexp); WTF_MAKE_NONCOPYABLE(ScriptRegexp);
public:
- ScriptRegexp(const String&, TextCaseSensitivity, MultilineMode = MultilineDisabled);
+ enum CharacterMode {
+ BMP, // NOLINT
+ UTF16, // NOLINT
+ };
+
+ ScriptRegexp(const String&, TextCaseSensitivity, MultilineMode = MultilineDisabled, CharacterMode = BMP);
int match(const String&, int startFrom = 0, int* matchLength = 0) const;
« 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