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

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

Issue 464963002: DevTools: Make UISourceCode Target-agnostic (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments 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/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);
},
/**
« no previous file with comments | « Source/devtools/front_end/sdk/BreakpointManager.js ('k') | Source/devtools/front_end/sdk/DebuggerWorkspaceBinding.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698