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 17a704eabb48d83b30d8624c17899efe4dfd35bd..67cbf3726b7e036ffafd95f2455043598fe1d54a 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8Regex.cpp |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8Regex.cpp |
@@ -54,7 +54,7 @@ int V8Regex::match(const String& string, int startFrom, int* matchLength) const |
return -1; |
v8::Local<v8::Value> argv[] = { toV8String(isolate, string.substring(startFrom)) }; |
v8::Local<v8::Value> returnValue; |
- if (!m_debugger->client()->callInternalFunction(exec.As<v8::Function>(), regex, WTF_ARRAY_LENGTH(argv), argv).ToLocal(&returnValue)) |
+ if (!exec.As<v8::Function>()->Call(context, regex, WTF_ARRAY_LENGTH(argv), argv).ToLocal(&returnValue)) |
return -1; |
// RegExp#exec returns null if there's no match, otherwise it returns an |