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

Unified Diff: src/inspector/InjectedScript.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/InjectedScript.h ('k') | src/inspector/InspectedContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/inspector/InjectedScript.h ('k') | src/inspector/InspectedContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698