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

Unified Diff: Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js

Issue 351903003: DevTools: Avoid private member access in non-profiler code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | Source/devtools/front_end/components/FlameChart.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
diff --git a/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js b/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
index 51c3c1ec3fb9b3215bef756bb5f7daadba5b69e9..e6f4577540dcc1566cff5805a928e95ed37299db 100644
--- a/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
+++ b/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
@@ -79,7 +79,7 @@ WebInspector.DOMBreakpointsSidebarPane.prototype = {
_inspectedURLChanged: function(event)
{
this._breakpointElements = {};
- this._reset();
+ this.reset();
var url = /** @type {string} */ (event.data);
this._inspectedURL = url.removeURLFragment();
},
@@ -254,7 +254,7 @@ WebInspector.DOMBreakpointsSidebarPane.prototype = {
break;
currentElement = currentElement.nextSibling;
}
- this._addListElement(element, currentElement);
+ this.addListElement(element, currentElement);
this._breakpointElements[breakpointId] = element;
if (enabled)
DOMDebuggerAgent.setDOMBreakpoint(node.id, type);
@@ -276,7 +276,7 @@ WebInspector.DOMBreakpointsSidebarPane.prototype = {
if (!element)
return;
- this._removeListElement(element);
+ this.removeListElement(element);
delete this._breakpointElements[breakpointId];
if (element._checkboxElement.checked)
DOMDebuggerAgent.removeDOMBreakpoint(node.id, type);
@@ -415,7 +415,7 @@ WebInspector.DOMBreakpointsSidebarPane.prototype = {
*/
WebInspector.DOMBreakpointsSidebarPane.Proxy = function(pane, panel)
{
- WebInspector.View._assert(!pane.titleElement.firstChild, "Cannot create proxy for a sidebar pane with a toolbar");
+ WebInspector.View.__assert(!pane.titleElement.firstChild, "Cannot create proxy for a sidebar pane with a toolbar");
WebInspector.SidebarPane.call(this, pane.title());
this.registerRequiredCSS("breakpointsList.css");
« no previous file with comments | « no previous file | Source/devtools/front_end/components/FlameChart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698