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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.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/sources/XHRBreakpointsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js
index d21e64411a579118adf8c898517d6dcf3d3b6518..64526f5893249cf12124f47123b33a4cdc661867 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/XHRBreakpointsSidebarPane.js
@@ -99,7 +99,7 @@ Sources.XHRBreakpointsSidebarPane = class extends Components.BreakpointsSidebarP
element.addEventListener('contextmenu', this._contextMenu.bind(this, url), true);
var title = url ? Common.UIString('URL contains "%s"', url) : Common.UIString('Any XHR');
- var label = createCheckboxLabel(title, enabled);
+ var label = UI.createCheckboxLabel(title, enabled);
element.appendChild(label);
label.checkboxElement.addEventListener('click', this._checkboxClicked.bind(this, url), false);
element._checkboxElement = label.checkboxElement;

Powered by Google App Engine
This is Rietveld 408576698