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 |