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

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

Issue 2604883002: DevTools: namespace globals (Closed)
Patch Set: address CL feedback 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/elements/PropertiesWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/PropertiesWidget.js b/third_party/WebKit/Source/devtools/front_end/elements/PropertiesWidget.js
index d9389b7ef551db6e79afdde81d54cf9cabaf1461..1bf84cd68234fc5ea1ddaa76406a6808b8c1df99 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/PropertiesWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/PropertiesWidget.js
@@ -143,7 +143,7 @@ Elements.PropertiesWidget = class extends UI.ThrottledWidget {
this.element.appendChild(section.element);
if (expanded[this.sections.length - 1])
section.expand();
- section.addEventListener(TreeOutline.Events.ElementExpanded, this._propertyExpanded, this);
+ section.addEventListener(UI.TreeOutline.Events.ElementExpanded, this._propertyExpanded, this);
}
}
}
@@ -154,7 +154,7 @@ Elements.PropertiesWidget = class extends UI.ThrottledWidget {
_propertyExpanded(event) {
Host.userMetrics.actionTaken(Host.UserMetrics.Action.DOMPropertiesExpanded);
for (var section of this.sections)
- section.removeEventListener(TreeOutline.Events.ElementExpanded, this._propertyExpanded, this);
+ section.removeEventListener(UI.TreeOutline.Events.ElementExpanded, this._propertyExpanded, this);
}
/**

Powered by Google App Engine
This is Rietveld 408576698