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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js

Issue 2776263006: [DevTools] Migrate checkbox label to a proper web component (Closed)
Patch Set: Created 3 years, 9 months 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/Toolbar.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
index db27ad535949a2dc47026408d4ddcbbdbebeb026..2c5a8ffa735c4f218e4a91786ec65f69aee631e1 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
@@ -1017,7 +1017,7 @@ UI.ToolbarCheckbox = class extends UI.ToolbarItem {
* @param {function()=} listener
*/
constructor(text, tooltip, listener) {
- super(UI.createCheckboxLabel(text));
+ super(UI.CheckboxLabel.create(text));
this.element.classList.add('checkbox');
this.inputElement = this.element.checkboxElement;
if (tooltip)

Powered by Google App Engine
This is Rietveld 408576698