Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1262)

Unified Diff: Source/devtools/front_end/main/TestController.js

Issue 1355423003: Devtools: initialize protocol enums synchronously (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: removed WebInspector._connectionForTests Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/main/Main.js ('k') | Source/devtools/front_end/main/module.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « Source/devtools/front_end/main/Main.js ('k') | Source/devtools/front_end/main/module.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698