Index: LayoutTests/inspector/sources/debugger/breakpoint-manager.js |
diff --git a/LayoutTests/inspector/sources/debugger/breakpoint-manager.js b/LayoutTests/inspector/sources/debugger/breakpoint-manager.js |
index 431c3969e024caefe0ca9623cd14f003db39e7f6..00b28f53234ae5e75046ca1a7b14ef3e17e10381 100644 |
--- a/LayoutTests/inspector/sources/debugger/breakpoint-manager.js |
+++ b/LayoutTests/inspector/sources/debugger/breakpoint-manager.js |
@@ -226,7 +226,7 @@ InspectorTest.addScript = function(target, breakpointManager, url) |
for (var i = 0; i < uiSourceCodes.length; ++i) { |
var uiSourceCode = uiSourceCodes[i]; |
if (uiSourceCode.url === url) { |
- uiSourceCode.setSourceMappingForTarget(target, breakpointManager.defaultMapping); |
+ breakpointManager._debuggerWorkspaceBinding.setSourceMapping(target, uiSourceCode, breakpointManager.defaultMapping); |
InspectorTest.uiSourceCodes[url] = uiSourceCode; |
return uiSourceCode; |
} |
@@ -243,7 +243,7 @@ InspectorTest.addUISourceCode = function(target, breakpointManager, url, doNotSe |
var uiSourceCode = binding._networkWorkspaceBinding.addFileForURL(url, contentProvider); |
InspectorTest.uiSourceCodes[url] = uiSourceCode; |
if (!doNotSetSourceMapping) { |
- uiSourceCode.setSourceMappingForTarget(target, breakpointManager.defaultMapping); |
+ breakpointManager._debuggerWorkspaceBinding.setSourceMapping(target, uiSourceCode, breakpointManager.defaultMapping); |
breakpointManager._debuggerWorkspaceBinding.updateLocations(target.debuggerModel.scriptForId(url)); |
} |
return uiSourceCode; |