Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(801)

Unified Diff: src/inspector/V8Debugger.cpp

Issue 2359533002: [inspector] replaced V8_INSPECTOR* macros with macros from base/macros.h (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/inspector/V8Debugger.h ('k') | src/inspector/V8DebuggerAgentImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/V8Debugger.cpp
diff --git a/src/inspector/V8Debugger.cpp b/src/inspector/V8Debugger.cpp
index 675623de34e8ac2d0095fcfe0153c77e97010ec3..e56d7eb8e3c689ac7e1c1a2ce9a13ff66a6e8a6e 100644
--- a/src/inspector/V8Debugger.cpp
+++ b/src/inspector/V8Debugger.cpp
@@ -121,9 +121,7 @@ void V8Debugger::getCompiledScripts(
.ToLocalChecked());
v8::Local<v8::Value> argv[] = {v8::Integer::New(m_isolate, contextGroupId)};
v8::Local<v8::Value> value;
- if (!getScriptsFunction
- ->Call(context, debuggerScript, V8_INSPECTOR_ARRAY_LENGTH(argv),
- argv)
+ if (!getScriptsFunction->Call(context, debuggerScript, arraysize(argv), argv)
.ToLocal(&value))
return;
DCHECK(value->IsArray());
@@ -466,8 +464,7 @@ JavaScriptCallFrames V8Debugger::currentCallFrames(int limit) {
v8::Local<v8::Value> argv[] = {m_executionState,
v8::Integer::New(m_isolate, limit)};
currentCallFramesV8 =
- callDebuggerMethod("currentCallFrames", V8_INSPECTOR_ARRAY_LENGTH(argv),
- argv)
+ callDebuggerMethod("currentCallFrames", arraysize(argv), argv)
.ToLocalChecked();
}
DCHECK(!currentCallFramesV8.IsEmpty());
« no previous file with comments | « src/inspector/V8Debugger.h ('k') | src/inspector/V8DebuggerAgentImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698