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

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

Issue 2562453003: [DevTools] Remove Common.Event.target field. (Closed)
Patch Set: works 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/sdk/ResourceTreeModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js
index a6fea2b6de4ba42baa3005102a26978dd4291279..eae9251e9005566caaf2e9310077938664f63d03 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js
@@ -106,7 +106,7 @@ SDK.ResourceTreeModel = class extends SDK.SDKModel {
this._cachedResourcesProcessed = true;
this.target().runtimeModel.setExecutionContextComparator(this._executionContextComparator.bind(this));
this.target().runtimeModel.fireExecutionContextOrderChanged();
- this.dispatchEventToListeners(SDK.ResourceTreeModel.Events.CachedResourcesLoaded);
+ this.dispatchEventToListeners(SDK.ResourceTreeModel.Events.CachedResourcesLoaded, this);
}
/**

Powered by Google App Engine
This is Rietveld 408576698