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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js

Issue 1877223003: DevTools: deprecate InspectorTest.runAfterPendingDispatches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « third_party/WebKit/Source/devtools/front_end/main/Main.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js b/third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js
index 07f58c2dadba0e522576cf66039fafabee6d44dd..158c1431216a2e0ee20a3c2bf65684ca388391e8 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js
@@ -346,7 +346,7 @@ InspectorBackendClass.Connection.prototype = {
console.log("time-stats: " + callback.methodName + " = " + (processingStartTime - callback.sendRequestTime) + " + " + (Date.now() - processingStartTime));
if (this._scripts && !this._pendingResponsesCount)
- this.runAfterPendingDispatches();
+ this.deprecatedRunAfterPendingDispatches();
return;
} else {
var method = messageObject.method.split(".");
@@ -376,7 +376,7 @@ InspectorBackendClass.Connection.prototype = {
/**
* @param {function()=} script
*/
- runAfterPendingDispatches: function(script)
+ deprecatedRunAfterPendingDispatches: function(script)
{
if (!this._scripts)
this._scripts = [];
@@ -389,7 +389,7 @@ InspectorBackendClass.Connection.prototype = {
if (!this._pendingResponsesCount)
this._executeAfterPendingDispatches();
else
- this.runAfterPendingDispatches();
+ this.deprecatedRunAfterPendingDispatches();
}.bind(this), 0);
},
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/main/Main.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698