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

Unified Diff: third_party/WebKit/Source/devtools/front_end/main/Main.js

Issue 2600323002: DevTools: extract protocol module (Closed)
Patch Set: move inspector backend commands.js Created 4 years 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
Index: third_party/WebKit/Source/devtools/front_end/main/Main.js
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
index c8fe3c8efaf1be8657de7abd61119118e894739f..127436deb56563b204a7bcb00735141f61726df9 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -844,7 +844,7 @@ Main.Main.InspectedNodeRevealer = class {
*/
Main.sendOverProtocol = function(method, params) {
return new Promise((resolve, reject) => {
- InspectorBackendClass.sendRawMessageForTesting(method, params, (err, result) => {
+ Protocol.InspectorBackend.sendRawMessageForTesting(method, params, (err, result) => {
if (err)
return reject(err);
return resolve(result);

Powered by Google App Engine
This is Rietveld 408576698