Index: src/inspector/V8Regex.cpp |
diff --git a/src/inspector/V8Regex.cpp b/src/inspector/V8Regex.cpp |
index 8db33ebc4c3a646cc05b78b9f26bc4299576add8..bd41b9fcaea2eee0b87ead87f3850518bc096268 100644 |
--- a/src/inspector/V8Regex.cpp |
+++ b/src/inspector/V8Regex.cpp |
@@ -62,7 +62,7 @@ int V8Regex::match(const String16& string, int startFrom, |
toV8String(isolate, string.substring(startFrom))}; |
v8::Local<v8::Value> returnValue; |
if (!exec.As<v8::Function>() |
- ->Call(context, regex, V8_INSPECTOR_ARRAY_LENGTH(argv), argv) |
+ ->Call(context, regex, arraysize(argv), argv) |
.ToLocal(&returnValue)) |
return -1; |