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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8Regex.h

Issue 1767883002: DevTools: generate string16-based handlers for v8_inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing 2 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
Index: third_party/WebKit/Source/platform/v8_inspector/V8Regex.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8Regex.h b/third_party/WebKit/Source/platform/v8_inspector/V8Regex.h
index 4bc885337096d46ec85a3e96d12a4f07ed3cb9c4..2c6c126cfa7d55be323e16d241f2f4f0c2d3b235 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8Regex.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8Regex.h
@@ -6,7 +6,7 @@
#define V8Regex_h
#include "platform/inspector_protocol/Allocator.h"
-#include "wtf/text/WTFString.h"
+#include "platform/inspector_protocol/String16.h"
#include <v8.h>
namespace blink {
@@ -21,8 +21,8 @@ enum MultilineMode {
class V8Regex {
PROTOCOL_DISALLOW_COPY(V8Regex);
public:
- V8Regex(V8DebuggerImpl*, const String&, TextCaseSensitivity, MultilineMode = MultilineDisabled);
- int match(const String&, int startFrom = 0, int* matchLength = 0) const;
+ V8Regex(V8DebuggerImpl*, const String16&, bool caseSensitive, bool multiline = false);
+ int match(const String16&, int startFrom = 0, int* matchLength = 0) const;
bool isValid() const { return !m_regex.IsEmpty(); }
private:

Powered by Google App Engine
This is Rietveld 408576698