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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkManageCustomHeadersView.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/network/NetworkManageCustomHeadersView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkManageCustomHeadersView.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkManageCustomHeadersView.js
index a85253b10a107091ca4221b15e3a7429b615c79e..b46f0c1deeaf24efe248ef23f4225e134589854c 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkManageCustomHeadersView.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkManageCustomHeadersView.js
@@ -29,8 +29,8 @@ Network.NetworkManageCustomHeadersView = class extends UI.VBox {
placeholder.textContent = Common.UIString('No custom headers');
this._list.setEmptyPlaceholder(placeholder);
this._list.show(this.contentElement);
- this.contentElement.appendChild(
- createTextButton(Common.UIString('Add custom header\u2026'), this._addButtonClicked.bind(this), 'add-button'));
+ this.contentElement.appendChild(UI.createTextButton(
+ Common.UIString('Add custom header\u2026'), this._addButtonClicked.bind(this), 'add-button'));
/** @type {!Map.<string, !{title: string, editable: boolean}>} */
this._columnConfigs = new Map();

Powered by Google App Engine
This is Rietveld 408576698