Index: Source/devtools/front_end/sdk/BreakpointManager.js |
diff --git a/Source/devtools/front_end/sdk/BreakpointManager.js b/Source/devtools/front_end/sdk/BreakpointManager.js |
index 185371ae66459c782291cba40325f0603f2a49e8..3d092b2d691800932bfe5286d68528387123513d 100644 |
--- a/Source/devtools/front_end/sdk/BreakpointManager.js |
+++ b/Source/devtools/front_end/sdk/BreakpointManager.js |
@@ -95,7 +95,6 @@ WebInspector.BreakpointManager.prototype = { |
*/ |
targetRemoved: function(target) { }, |
- |
/** |
* @param {string} sourceFileId |
* @return {!StringMap.<!WebInspector.BreakpointManager.Breakpoint>} |
@@ -775,7 +774,7 @@ WebInspector.BreakpointManager.TargetBreakpoint.prototype = { |
var uiSourceCode = this._breakpoint.uiSourceCode(); |
if (!uiSourceCode) |
return false; |
- var scriptFile = uiSourceCode.scriptFileForTarget(this.target()); |
+ var scriptFile = this._debuggerWorkspaceBinding.scriptFile(uiSourceCode, this.target()); |
return !!scriptFile && scriptFile.hasDivergedFromVM(); |
}, |