Index: Source/devtools/front_end/sdk/CompilerScriptMapping.js |
diff --git a/Source/devtools/front_end/sdk/CompilerScriptMapping.js b/Source/devtools/front_end/sdk/CompilerScriptMapping.js |
index eb518be263cd866018aadd2023c583edd880e859..b47595def1ed2bf3b2f52dd37c71862e98558b43 100644 |
--- a/Source/devtools/front_end/sdk/CompilerScriptMapping.js |
+++ b/Source/devtools/front_end/sdk/CompilerScriptMapping.js |
@@ -196,7 +196,7 @@ WebInspector.CompilerScriptMapping.prototype = { |
*/ |
_bindUISourceCode: function(uiSourceCode) |
{ |
- uiSourceCode.setSourceMappingForTarget(this._target, this); |
+ this._debuggerWorkspaceBinding.setSourceMapping(this._target, uiSourceCode, this); |
}, |
/** |
@@ -204,7 +204,7 @@ WebInspector.CompilerScriptMapping.prototype = { |
*/ |
_unbindUISourceCode: function(uiSourceCode) |
{ |
- uiSourceCode.setSourceMappingForTarget(this._target, null); |
+ this._debuggerWorkspaceBinding.setSourceMapping(this._target, uiSourceCode, null); |
}, |
/** |