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

Unified Diff: Source/devtools/front_end/elements/ElementsPanel.js

Issue 667743002: DevTools: remove "type" getters in Resource and NetworkRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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: Source/devtools/front_end/elements/ElementsPanel.js
diff --git a/Source/devtools/front_end/elements/ElementsPanel.js b/Source/devtools/front_end/elements/ElementsPanel.js
index d23c4bbe83c7796a4048c2464e4f8b75b28caea6..aff96db562b798103d8fab194b8de6842431cfc4 100644
--- a/Source/devtools/front_end/elements/ElementsPanel.js
+++ b/Source/devtools/front_end/elements/ElementsPanel.js
@@ -485,7 +485,7 @@ WebInspector.ElementsPanel.prototype = {
continue;
var resource = this._treeOutlines[i].target().resourceTreeModel.resourceForURL(anchor.href);
- if (!resource || resource.type !== WebInspector.resourceTypes.Image)
+ if (!resource || resource.resourceType() !== WebInspector.resourceTypes.Image)
return;
anchor.removeAttribute("title");
return anchor;
« no previous file with comments | « Source/devtools/front_end/console/ConsoleView.js ('k') | Source/devtools/front_end/network/NetworkItemView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698