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

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

Issue 1902993002: [DevTools] Introduce provisional blackboxing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 2c6c126cfa7d55be323e16d241f2f4f0c2d3b235..983717d971a0bc8d1e651ab7bec363a6958b2d28 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8Regex.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8Regex.h
@@ -24,10 +24,12 @@ public:
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(); }
+ const String16& errorMessage() const { return m_errorMessage; }
private:
V8DebuggerImpl* m_debugger;
v8::Global<v8::RegExp> m_regex;
+ String16 m_errorMessage;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698