Index: Source/devtools/front_end/bindings/DefaultScriptMapping.js |
diff --git a/Source/devtools/front_end/bindings/DefaultScriptMapping.js b/Source/devtools/front_end/bindings/DefaultScriptMapping.js |
index 3310e9a2d51955a921fcaa9f78835048d951b636..89bbe78942a5729afbf3efbf49fdba0062ebddc4 100644 |
--- a/Source/devtools/front_end/bindings/DefaultScriptMapping.js |
+++ b/Source/devtools/front_end/bindings/DefaultScriptMapping.js |
@@ -187,11 +187,10 @@ WebInspector.DebuggerProjectDelegate.prototype = { |
*/ |
addScript: function(script) |
{ |
- var contentProvider = script.isInlineScript() && !script.hasSourceURL ? new WebInspector.ConcatenatedScriptsContentProvider([script]) : script; |
var splitURL = WebInspector.ParsedURL.splitURLIntoPathComponents(script.sourceURL); |
var name = splitURL[splitURL.length - 1]; |
name = "VM" + script.scriptId + (name ? " " + name : ""); |
- return this.addContentProvider("", name, script.sourceURL, script.sourceURL, contentProvider); |
+ return this.addContentProvider("", name, script.sourceURL, script.sourceURL, script); |
}, |
__proto__: WebInspector.ContentProviderBasedProjectDelegate.prototype |