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

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

Issue 2784413003: DevTools: carefully cleanup javascript sourcemaps (Closed)
Patch Set: address comments 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/DebuggerWorkspaceBinding.js
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js b/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
index 7f5ac4bd1d0eaf8301eb13c8b8c6e1990679ceb7..d956076032edde54afa31a32c902f5f43f123fbd 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
@@ -233,7 +233,7 @@ Bindings.DebuggerWorkspaceBinding = class extends Common.Object {
/**
* @param {!SDK.Script} script
- * @return {?SDK.TextSourceMap}
+ * @return {?SDK.SourceMap}
*/
sourceMapForScript(script) {
var modelData = this._debuggerModelToData.get(script.debuggerModel);
@@ -370,9 +370,6 @@ Bindings.DebuggerWorkspaceBinding.ModelData = class {
var script = /** @type {!SDK.Script} */ (event.data);
this._defaultMapping.addScript(script);
this._resourceMapping.addScript(script);
-
- if (Common.moduleSetting('jsSourceMapsEnabled').get())
- this._compilerMapping.addScript(script);
}
/**

Powered by Google App Engine
This is Rietveld 408576698