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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/ListWidget.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/ListWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js b/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
index 7878a136b0c99dc7b1ca49b7aff8e405765269c7..0832723a1696e0faadb7e1c81456b6909001c854 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
@@ -260,9 +260,9 @@ UI.ListWidget.Editor = class {
this._contentElement = this.element.createChild('div', 'editor-content');
var buttonsRow = this.element.createChild('div', 'editor-buttons');
- this._commitButton = createTextButton('', this._commitClicked.bind(this));
+ this._commitButton = UI.createTextButton('', this._commitClicked.bind(this));
buttonsRow.appendChild(this._commitButton);
- this._cancelButton = createTextButton(Common.UIString('Cancel'), this._cancelClicked.bind(this));
+ this._cancelButton = UI.createTextButton(Common.UIString('Cancel'), this._cancelClicked.bind(this));
this._cancelButton.addEventListener(
'keydown', onKeyDown.bind(null, isEnterKey, this._cancelClicked.bind(this)), false);
buttonsRow.appendChild(this._cancelButton);

Powered by Google App Engine
This is Rietveld 408576698