| Index: Source/bindings/v8/custom/V8InjectedScriptManager.cpp
|
| diff --git a/Source/bindings/v8/custom/V8InjectedScriptManager.cpp b/Source/bindings/v8/custom/V8InjectedScriptManager.cpp
|
| index 1ee767828717895731379240631f94bf1f60844c..96ac07ffc23a5e47823773a17d2c4be4bc4e2e2f 100644
|
| --- a/Source/bindings/v8/custom/V8InjectedScriptManager.cpp
|
| +++ b/Source/bindings/v8/custom/V8InjectedScriptManager.cpp
|
| @@ -90,6 +90,8 @@ ScriptObject InjectedScriptManager::createInjectedScript(const String& scriptSou
|
|
|
| v8::Local<v8::Object> windowGlobal = inspectedContext->Global();
|
|
|
| + V8ScopedCompilation debuggerCompilation(inspectedContext, DevtoolsFunctionCompilation);
|
| +
|
| // 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,
|
|
|