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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/FilterBar.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/ui/FilterBar.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
index f9f466438d5b4095b98d200f2b5d1af7cad5c93b..08a22e26e8b5d85792c932148706544752daf450 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
@@ -193,7 +193,7 @@ UI.TextFilterUI = class extends Common.Object {
if (this._supportRegex) {
this._filterElement.classList.add('supports-regex');
- var label = createCheckboxLabel(Common.UIString('Regex'));
+ var label = UI.createCheckboxLabel(Common.UIString('Regex'));
this._regexCheckBox = label.checkboxElement;
this._regexCheckBox.id = 'text-filter-regex';
this._regexCheckBox.addEventListener('change', this._valueChanged.bind(this), false);
@@ -535,7 +535,7 @@ UI.CheckboxFilterUI = class extends Common.Object {
super();
this._filterElement = createElementWithClass('div', 'filter-checkbox-filter');
this._activeWhenChecked = !!activeWhenChecked;
- this._label = createCheckboxLabel(title);
+ this._label = UI.createCheckboxLabel(title);
this._filterElement.appendChild(this._label);
this._checkboxElement = this._label.checkboxElement;
if (setting)

Powered by Google App Engine
This is Rietveld 408576698