aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/inspector/v8-regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/inspector/v8-regex.h')
-rw-r--r--deps/v8/src/inspector/v8-regex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/src/inspector/v8-regex.h b/deps/v8/src/inspector/v8-regex.h
index 0c4136fc8b..0ce779542d 100644
--- a/deps/v8/src/inspector/v8-regex.h
+++ b/deps/v8/src/inspector/v8-regex.h
@@ -20,7 +20,8 @@ class V8Regex {
public:
V8Regex(V8InspectorImpl*, const String16&, bool caseSensitive,
bool multiline = false);
- int match(const String16&, int startFrom = 0, int* matchLength = 0) const;
+ int match(const String16&, int startFrom = 0,
+ int* matchLength = nullptr) const;
bool isValid() const { return !m_regex.IsEmpty(); }
const String16& errorMessage() const { return m_errorMessage; }