Index: src/inspector/JavaScriptCallFrame.cpp |
diff --git a/src/inspector/JavaScriptCallFrame.cpp b/src/inspector/JavaScriptCallFrame.cpp |
index 6ee803899c64610f002b8104707918289a0c8383..3a3b6ea402984b8026f42849e5ab0a088664631f 100644 |
--- a/src/inspector/JavaScriptCallFrame.cpp |
+++ b/src/inspector/JavaScriptCallFrame.cpp |
@@ -155,8 +155,8 @@ v8::MaybeLocal<v8::Value> JavaScriptCallFrame::setVariableValue( |
v8::Local<v8::Value> argv[] = { |
v8::Local<v8::Value>(v8::Integer::New(m_isolate, scopeNumber)), |
variableName, newValue}; |
- return setVariableValueFunction->Call(context, callFrame, |
- V8_INSPECTOR_ARRAY_LENGTH(argv), argv); |
+ return setVariableValueFunction->Call(context, callFrame, arraysize(argv), |
+ argv); |
} |
} // namespace v8_inspector |