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

Unified Diff: Source/devtools/front_end/sdk/BreakpointManager.js

Issue 464963002: DevTools: Make UISourceCode Target-agnostic (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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: 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();
},

Powered by Google App Engine
This is Rietveld 408576698