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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js

Issue 1957053002: DevTools: simplify NetworkProject.addFileForURL method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 7 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/sdk/SourceMap.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js b/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
index 0a3698883569956dec499f6d4bd092ab4c349a6a..7e70894719b74a7c1fb5f0ae306555f95e3b4c9f 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
@@ -259,7 +259,7 @@ WebInspector.TextSourceMap.prototype = {
{
var sourceContent = this._sourceContentByURL[sourceURL];
if (sourceContent)
- return new WebInspector.StaticContentProvider(contentType, sourceContent);
+ return new WebInspector.StaticContentProvider(contentType, sourceContent, sourceURL);
return new WebInspector.CompilerSourceMappingContentProvider(sourceURL, contentType);
},

Powered by Google App Engine
This is Rietveld 408576698