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

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

Issue 2441933002: [DevTools] Refactor connection-related classes. (Closed)
Patch Set: test fixes 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 668ed727db650943f4740bdce7d186cf3d1c05fd..b60da436663b5ec460be5750232ef9453e9a5cf9 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