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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.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/emulation/DevicesSettingsTab.js
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js b/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js
index 7ab55da07e40fa6120e6f4eb5995f03ecdf7a794..2312000f638998c4aaa5c99b21b6282f7bffc63e 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js
@@ -18,7 +18,8 @@ Emulation.DevicesSettingsTab = class extends UI.VBox {
.createChild('div', 'settings-tab help-content help-container');
var buttonsRow = this.containerElement.createChild('div', 'devices-button-row');
- this._addCustomButton = createTextButton(Common.UIString('Add custom device...'), this._addCustomDevice.bind(this));
+ this._addCustomButton =
+ UI.createTextButton(Common.UIString('Add custom device...'), this._addCustomDevice.bind(this));
buttonsRow.appendChild(this._addCustomButton);
this._list = new UI.ListWidget(this);

Powered by Google App Engine
This is Rietveld 408576698