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

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

Issue 2408133004: [DevTools] Implement Target.setDiscoverTargets method. (Closed)
Patch Set: new fancy range-based iteration in observer list! Created 4 years, 2 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
Index: third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js b/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js
index 69f79f9899b7997a23425ed4f8885c2fb217ba63..50a740619226c924626b04841fd17e2729633573 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js
@@ -151,7 +151,7 @@ WebInspector.SubTargetsManager.prototype = {
/**
* @param {string} targetId
*/
- _targetRemoved: function(targetId)
+ _targetDestroyed: function(targetId)
{
console.assert(this._allTargets.has(targetId));
console.assert(!this._attachedTargets.has(targetId));
@@ -239,9 +239,9 @@ WebInspector.SubTargetsDispatcher.prototype = {
* @override
* @param {string} targetId
*/
- targetRemoved: function(targetId)
+ targetDestroyed: function(targetId)
{
- this._manager._targetRemoved(targetId);
+ this._manager._targetDestroyed(targetId);
},
/**

Powered by Google App Engine
This is Rietveld 408576698