Index: src/inspector/InjectedScript.cpp |
diff --git a/src/inspector/InjectedScript.cpp b/src/inspector/InjectedScript.cpp |
index ebd26ece673bb1c0dffe526be29082e9b600b650..8d2496db697687c9d67cb74694fb8ebfb1201d94 100644 |
--- a/src/inspector/InjectedScript.cpp |
+++ b/src/inspector/InjectedScript.cpp |
@@ -100,8 +100,7 @@ std::unique_ptr<InjectedScript> InjectedScript::create( |
v8::MicrotasksScope microtasksScope(isolate, |
v8::MicrotasksScope::kDoNotRunMicrotasks); |
v8::Local<v8::Value> injectedScriptValue; |
- if (!function |
- ->Call(context, windowGlobal, V8_INSPECTOR_ARRAY_LENGTH(info), info) |
+ if (!function->Call(context, windowGlobal, arraysize(info), info) |
.ToLocal(&injectedScriptValue)) |
return nullptr; |
if (!injectedScriptValue->IsObject()) return nullptr; |