Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html |
index 508c6da710c50b30f1f80e91787936d0840833ba..578b9c481e164bbe3e580a702a4404349d8377ad 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html |
@@ -8,7 +8,8 @@ function test() |
var mockTargetId = 1; |
function createMockTarget(name, capabilities, dontAttachToMain) |
{ |
- return SDK.targetManager.createTarget('mock-target-' + mockTargetId++, name, capabilities, params => new SDK.StubConnection(params), dontAttachToMain ? null : InspectorTest.mainTarget); |
+ var dispatcher = new Protocol.Dispatcher(params => new SDK.StubConnection(params)); |
+ return SDK.targetManager.createTarget('mock-target-' + mockTargetId++, name, capabilities, dispatcher, dontAttachToMain ? null : InspectorTest.mainTarget); |
} |
var context = new UI.Context(); |