| Index: third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| index bee51ac19b3a880a891adbb9bef9b7380e974e15..5cce774728f506dab39a928d4ac3790ba85fc50b 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| @@ -543,7 +543,7 @@ InspectorTest.deprecatedRunAfterPendingDispatches = function(callback)
|
| var barrier = new CallbackBarrier();
|
| var targets = SDK.targetManager.targets();
|
| for (var i = 0; i < targets.length; ++i)
|
| - targets[i]._deprecatedRunAfterPendingDispatches(barrier.createCallback());
|
| + targets[i]._dispatcher._deprecatedRunAfterPendingDispatches(barrier.createCallback());
|
| barrier.callWhenDone(InspectorTest.safeWrap(callback));
|
| }
|
|
|
| @@ -969,20 +969,20 @@ SDK.targetManager.observeTargets({
|
| {
|
| if (InspectorTest.CSSAgent)
|
| return;
|
| - InspectorTest.CSSAgent = target.cssAgent();
|
| - InspectorTest.DeviceOrientationAgent = target.deviceOrientationAgent();
|
| - InspectorTest.DOMAgent = target.domAgent();
|
| - InspectorTest.DOMDebuggerAgent = target.domdebuggerAgent();
|
| - InspectorTest.DebuggerAgent = target.debuggerAgent();
|
| - InspectorTest.EmulationAgent = target.emulationAgent();
|
| - InspectorTest.HeapProfilerAgent = target.heapProfilerAgent();
|
| - InspectorTest.InspectorAgent = target.inspectorAgent();
|
| - InspectorTest.NetworkAgent = target.networkAgent();
|
| - InspectorTest.OverlayAgent = target.overlayAgent();
|
| - InspectorTest.PageAgent = target.pageAgent();
|
| - InspectorTest.ProfilerAgent = target.profilerAgent();
|
| - InspectorTest.RuntimeAgent = target.runtimeAgent();
|
| - InspectorTest.TargetAgent = target.targetAgent();
|
| + InspectorTest.CSSAgent = target._dispatcher.cssAgent();
|
| + InspectorTest.DeviceOrientationAgent = target._dispatcher.deviceOrientationAgent();
|
| + InspectorTest.DOMAgent = target._dispatcher.domAgent();
|
| + InspectorTest.DOMDebuggerAgent = target._dispatcher.domdebuggerAgent();
|
| + InspectorTest.DebuggerAgent = target._dispatcher.debuggerAgent();
|
| + InspectorTest.EmulationAgent = target._dispatcher.emulationAgent();
|
| + InspectorTest.HeapProfilerAgent = target._dispatcher.heapProfilerAgent();
|
| + InspectorTest.InspectorAgent = target._dispatcher.inspectorAgent();
|
| + InspectorTest.NetworkAgent = target._dispatcher.networkAgent();
|
| + InspectorTest.OverlayAgent = target._dispatcher.overlayAgent();
|
| + InspectorTest.PageAgent = target._dispatcher.pageAgent();
|
| + InspectorTest.ProfilerAgent = target._dispatcher.profilerAgent();
|
| + InspectorTest.RuntimeAgent = target._dispatcher.runtimeAgent();
|
| + InspectorTest.TargetAgent = target._dispatcher.targetAgent();
|
|
|
| InspectorTest.networkManager = target.model(SDK.NetworkManager);
|
| InspectorTest.securityOriginManager = target.model(SDK.SecurityOriginManager);
|
|
|