Index: Source/devtools/front_end/main/TestController.js |
diff --git a/Source/devtools/front_end/main/TestController.js b/Source/devtools/front_end/main/TestController.js |
index be9366e070b52a77ed7d43068eb25f1721e70ef9..f37651500d7432f67b898bc603950ae83fdd09f3 100644 |
--- a/Source/devtools/front_end/main/TestController.js |
+++ b/Source/devtools/front_end/main/TestController.js |
@@ -42,5 +42,6 @@ WebInspector.evaluateForTestInFrontend = function(callId, script) |
console.error(e.stack); |
} |
} |
- InspectorBackend.connection().runAfterPendingDispatches(invokeMethod); |
+ |
+ WebInspector.targetManager.mainTarget()._connection.runAfterPendingDispatches(invokeMethod); |
} |