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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.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/sources/JavaScriptBreakpointsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
index 601490df3c5a950d82bd033131342163cbe8148a..6b9f28100f4498514010fd8be0857fb4182d24c3 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
@@ -66,7 +66,7 @@ Sources.JavaScriptBreakpointsSidebarPane = class extends UI.ThrottledWidget {
entry = this._listElement.createChild('div', 'breakpoint-entry');
entry.addEventListener('contextmenu', this._breakpointContextMenu.bind(this), true);
entry.addEventListener('click', this._revealLocation.bind(this), false);
- var checkboxLabel = UI.createCheckboxLabel('');
+ var checkboxLabel = UI.CheckboxLabel.create('');
checkboxLabel.addEventListener('click', this._breakpointCheckboxClicked.bind(this), false);
entry.appendChild(checkboxLabel);
entry[Sources.JavaScriptBreakpointsSidebarPane._checkboxLabelSymbol] = checkboxLabel;

Powered by Google App Engine
This is Rietveld 408576698