| 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 9e293ea9964edba18b37477f1be8c24b4da8ad61..f584340db8e38ba925c10ae1eb53f82a10c8b2fc 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
|
| @@ -400,7 +400,7 @@ InspectorTest.expandAndDumpEventListeners = function(eventListenersView, updateC
|
| for (var j = 0; j < listenerItems.length; ++j)
|
| listenerItems[j].expand();
|
| }
|
| - InspectorTest.runAfterPendingDispatches(objectsExpanded);
|
| + InspectorTest.deprecatedRunAfterPendingDispatches(objectsExpanded);
|
| }
|
|
|
| function objectsExpanded()
|
| @@ -512,12 +512,12 @@ InspectorTest.runWhenPageLoads = function(callback)
|
| InspectorTest._pageLoadedCallback = InspectorTest.safeWrap(chainedCallback);
|
| }
|
|
|
| -InspectorTest.runAfterPendingDispatches = function(callback)
|
| +InspectorTest.deprecatedRunAfterPendingDispatches = function(callback)
|
| {
|
| var barrier = new CallbackBarrier();
|
| var targets = WebInspector.targetManager.targets();
|
| for (var i = 0; i < targets.length; ++i)
|
| - targets[i]._connection.runAfterPendingDispatches(barrier.createCallback());
|
| + targets[i]._connection.deprecatedRunAfterPendingDispatches(barrier.createCallback());
|
| barrier.callWhenDone(InspectorTest.safeWrap(callback));
|
| }
|
|
|
|
|