| Index: Source/bindings/v8/custom/V8InjectedScriptManager.cpp
|
| diff --git a/Source/bindings/v8/custom/V8InjectedScriptManager.cpp b/Source/bindings/v8/custom/V8InjectedScriptManager.cpp
|
| index 3c05b4363c44305958d1a9fe3ce2ac39844383c3..493078e4ebe25564bd0192b1ae46436b713ef4fa 100644
|
| --- a/Source/bindings/v8/custom/V8InjectedScriptManager.cpp
|
| +++ b/Source/bindings/v8/custom/V8InjectedScriptManager.cpp
|
| @@ -90,6 +90,9 @@ ScriptObject InjectedScriptManager::createInjectedScript(const String& scriptSou
|
|
|
| v8::Local<v8::Object> windowGlobal = inspectedContext->Global();
|
|
|
| + // Mark the context as temporarily used by debugger.
|
| + V8PerContextDebugData::SystemScope systemScope(inspectedContext);
|
| +
|
| // Inject javascript into the context. The compiled script is supposed to evaluate into
|
| // a single anonymous function(it's anonymous to avoid cluttering the global object with
|
| // inspector's stuff) the function is called a few lines below with InjectedScriptHost wrapper,
|
|
|