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

Unified Diff: third_party/WebKit/Source/devtools/front_end/audits2/Audits2Panel.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/audits2/Audits2Panel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/audits2/Audits2Panel.js b/third_party/WebKit/Source/devtools/front_end/audits2/Audits2Panel.js
index 5bbc40bfc6c671dd50977cc7e69219eea5ecbd1d..e997de2e81ec071cdf12b0223c683c14a0c77096 100644
--- a/third_party/WebKit/Source/devtools/front_end/audits2/Audits2Panel.js
+++ b/third_party/WebKit/Source/devtools/front_end/audits2/Audits2Panel.js
@@ -8,8 +8,8 @@ Audits2.Audits2Panel = class extends UI.Panel {
constructor() {
super('audits2');
this.contentElement.classList.add('vbox');
- this.contentElement.appendChild(createTextButton(Common.UIString('Start'), this._start.bind(this)));
- this.contentElement.appendChild(createTextButton(Common.UIString('Stop'), this._stop.bind(this)));
+ this.contentElement.appendChild(UI.createTextButton(Common.UIString('Start'), this._start.bind(this)));
+ this.contentElement.appendChild(UI.createTextButton(Common.UIString('Stop'), this._stop.bind(this)));
this._resultElement = this.contentElement.createChild('div', 'overflow-auto');
}

Powered by Google App Engine
This is Rietveld 408576698