Index: src/inspector/v8-regex.cc |
diff --git a/src/inspector/v8-regex.cc b/src/inspector/v8-regex.cc |
index 47af70d3604ae1c32bd860f9c1351b4e74d26d45..0bab4364c443d2309b5087654daf1d698b634cb5 100644 |
--- a/src/inspector/v8-regex.cc |
+++ b/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); |