Index: third_party/WebKit/Source/devtools/front_end/components/BreakpointsSidebarPaneBase.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/components/BreakpointsSidebarPaneBase.js b/third_party/WebKit/Source/devtools/front_end/components/BreakpointsSidebarPaneBase.js |
index 949a68d240d5f538a51f92bf73259abaac578245..5c481cbdadeabac4f4ee7101fbf09f1b3c85cc6d 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/components/BreakpointsSidebarPaneBase.js |
+++ b/third_party/WebKit/Source/devtools/front_end/components/BreakpointsSidebarPaneBase.js |
@@ -45,9 +45,6 @@ WebInspector.BreakpointsSidebarPaneBase = function() |
this.emptyElement.textContent = WebInspector.UIString("No Breakpoints"); |
this.element.appendChild(this.emptyElement); |
- WebInspector.targetManager.addModelListener(WebInspector.DebuggerModel, WebInspector.DebuggerModel.Events.DebuggerPaused, this._update, this); |
- WebInspector.targetManager.addModelListener(WebInspector.DebuggerModel, WebInspector.DebuggerModel.Events.DebuggerResumed, this._update, this); |
- WebInspector.context.addFlavorChangeListener(WebInspector.Target, this._update, this); |
} |
WebInspector.BreakpointsSidebarPaneBase.prototype = { |
@@ -94,19 +91,5 @@ WebInspector.BreakpointsSidebarPaneBase.prototype = { |
} |
}, |
- _update: function() |
- { |
- var target = WebInspector.context.flavor(WebInspector.Target); |
- var debuggerModel = WebInspector.DebuggerModel.fromTarget(target); |
- var details = debuggerModel ? debuggerModel.debuggerPausedDetails() : null; |
- this.highlightDetails(details); |
- }, |
- |
- /** |
- * @param {?WebInspector.DebuggerPausedDetails} details |
- * @protected |
- */ |
- highlightDetails: function(details) { }, |
- |
__proto__: WebInspector.VBox.prototype |
} |