Index: third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
index 86c22fe6038c819a1099cb3ec555eb0a7586bb6f..6e765e5dc846745d4c2cef4b25600e6eec0a000c 100644 |
--- a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
+++ b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
@@ -250,6 +250,7 @@ void ThreadDebugger::installAdditionalCommandLineAPI( |
v8::Local<v8::Value> function_value; |
bool success = |
V8ScriptRunner::CompileAndRunInternalScript( |
+ ExecutionContext::From(ScriptState::From(context)), |
V8String(isolate_, "(function(e) { console.log(e.type, e); })"), |
isolate_) |
.ToLocal(&function_value) && |