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

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

Powered by Google App Engine
This is Rietveld 408576698