Index: src/inspector/injected-script.cc |
diff --git a/src/inspector/injected-script.cc b/src/inspector/injected-script.cc |
index b4183a735a250f8d0493050df0401404626b51a1..183fa446b35d9b821b0ba24cb0776cb16b6a8bd1 100644 |
--- a/src/inspector/injected-script.cc |
+++ b/src/inspector/injected-script.cc |
@@ -175,6 +175,7 @@ Response InjectedScript::wrapObject( |
v8::HandleScope handles(m_context->isolate()); |
v8::Local<v8::Value> wrappedObject; |
v8::Local<v8::Context> context = m_context->context(); |
+ v8::Context::Scope contextScope(context); |
dgozman
2017/04/26 15:52:49
I don't think this is needed. It calls into wrapVa
Jens Widell
2017/04/26 15:57:13
Indeed. I now wonder how come I ended up adding th
|
Response response = wrapValue(value, groupName, forceValueType, |
generatePreview, &wrappedObject); |
if (!response.isSuccess()) return response; |