Index: third_party/WebKit/Source/platform/v8_inspector/V8Regex.cpp |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8Regex.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8Regex.cpp |
index e8c8db2e4ddee4694006572241726c2b355b91cd..ebcff83ea2761c93743b87d1a128108e9c6e40a0 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8Regex.cpp |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8Regex.cpp |
@@ -4,9 +4,9 @@ |
#include "platform/v8_inspector/V8Regex.h" |
+#include "platform/v8_inspector/StringUtil.h" |
#include "platform/v8_inspector/V8Compat.h" |
#include "platform/v8_inspector/V8InspectorImpl.h" |
-#include "platform/v8_inspector/V8StringUtil.h" |
#include "platform/v8_inspector/public/V8InspectorClient.h" |
#include <limits.h> |
@@ -61,7 +61,7 @@ int V8Regex::match(const String16& string, int startFrom, int* matchLength) cons |
return -1; |
v8::Local<v8::Value> argv[] = { toV8String(isolate, string.substring(startFrom)) }; |
v8::Local<v8::Value> returnValue; |
- if (!exec.As<v8::Function>()->Call(context, regex, PROTOCOL_ARRAY_LENGTH(argv), argv).ToLocal(&returnValue)) |
+ if (!exec.As<v8::Function>()->Call(context, regex, V8_INSPECTOR_ARRAY_LENGTH(argv), argv).ToLocal(&returnValue)) |
return -1; |
// RegExp#exec returns null if there's no match, otherwise it returns an |