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

Unified Diff: third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js

Issue 2781923002: [WIP] DevTools: user SourceMapManager in Debugger (Closed)
Patch Set: works great Created 3 years, 9 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: third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js b/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js
index 7c506733e9988bf190f6ab2d58654525bc3f175e..1c9adacc6de6410df41370b2616c992b2b4e0712 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js
@@ -425,7 +425,7 @@ Bindings.ResourceScriptFile = class extends Common.Object {
addSourceMapURL(sourceMapURL) {
if (!this._script)
return;
- this._script.addSourceMapURL(sourceMapURL);
+ this._script.debuggerModel.setSourceMapURL(this._script, sourceMapURL);
}
/**

Powered by Google App Engine
This is Rietveld 408576698