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

Unified Diff: third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js

Issue 2441933002: [DevTools] Refactor connection-related classes. (Closed)
Patch Set: tests.js Created 4 years, 2 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/bindings/BreakpointManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js b/third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js
index 856f40a7205dd2dfb94ff5f73ba1c6abeffcdef0..08003ee2a43bc99e18da35230b80d0eab8182f04 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/BreakpointManager.js
@@ -798,7 +798,7 @@ WebInspector.BreakpointManager.TargetBreakpoint.prototype = {
*/
_updateInDebugger: function(callback)
{
- if (this.target().isDetached()) {
+ if (this.target().isDisposed()) {
this._cleanUpAfterDebuggerIsGone();
callback();
return;

Powered by Google App Engine
This is Rietveld 408576698