diff options
Diffstat (limited to 'deps/v8/src/inspector/v8-regex.cc')
-rw-r--r-- | deps/v8/src/inspector/v8-regex.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/v8/src/inspector/v8-regex.cc b/deps/v8/src/inspector/v8-regex.cc index 47af70d360..0bab4364c4 100644 --- a/deps/v8/src/inspector/v8-regex.cc +++ b/deps/v8/src/inspector/v8-regex.cc @@ -49,6 +49,7 @@ int V8Regex::match(const String16& string, int startFrom, v8::Isolate* isolate = m_inspector->isolate(); v8::HandleScope handleScope(isolate); v8::Local<v8::Context> context = m_inspector->regexContext(); + v8::Context::Scope contextScope(context); v8::MicrotasksScope microtasks(isolate, v8::MicrotasksScope::kDoNotRunMicrotasks); v8::TryCatch tryCatch(isolate); |