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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js

Issue 2122353002: [DevTools] Make resource tree model optional (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 5 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/elements/ElementsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js
index e69fae53dfc53cca11434bcf996cdf5c704522af..a4ea50e05089663ac239e43b763beb34da7afb5f 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js
@@ -88,7 +88,7 @@ WebInspector.ElementsSidebarPane.prototype = {
if (target) {
this._cssModel = WebInspector.CSSModel.fromTarget(target);
domModel = WebInspector.DOMModel.fromTarget(target);
- resourceTreeModel = target.resourceTreeModel;
+ resourceTreeModel = WebInspector.ResourceTreeModel.fromTarget(target);
}
if (this._cssModel && domModel && resourceTreeModel) {
dgozman 2016/07/14 16:29:28 We should split "&& resourceTreeModel" out. This p
eostroukhov-old 2016/07/20 23:46:15 This code have been removed.

Powered by Google App Engine
This is Rietveld 408576698