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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.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/components/DOMBreakpointsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
index 5766f5c87dcd77373aa1991aad6fc4e71deb51db..a1f21b8c5fe5578587a3e1a3456a0571d14c5748 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
@@ -186,7 +186,7 @@ Components.DOMBreakpointsSidebarPane = class extends Components.BreakpointsSideb
element._type = type;
element.addEventListener('contextmenu', this._contextMenu.bind(this, node, type), true);
- var checkboxLabel = UI.createCheckboxLabel('', enabled);
+ var checkboxLabel = UI.CheckboxLabel.create('', enabled);
var checkboxElement = checkboxLabel.checkboxElement;
checkboxElement.addEventListener('click', this._checkboxClicked.bind(this, node, type), false);
element._checkboxElement = checkboxElement;

Powered by Google App Engine
This is Rietveld 408576698