| Index: third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js b/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js
|
| index 6584ca8213350e12216a1ca331fcaa21ef8079c4..567cbd31ddb625105fbe35bdc6d09641c517a525 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js
|
| @@ -327,7 +327,7 @@ WebInspector.CompilerScriptMapping.prototype = {
|
| pendingCallbacks = [callback];
|
| this._pendingSourceMapLoadingCallbacks[sourceMapURL] = pendingCallbacks;
|
|
|
| - WebInspector.SourceMap.load(sourceMapURL, scriptURL, sourceMapLoaded.bind(this));
|
| + WebInspector.SourceMap.load(sourceMapURL, scriptURL, sourceMapLoaded.bind(this), sourceMapContentLoaded.bind(this));
|
|
|
| /**
|
| * @param {?WebInspector.SourceMap} sourceMap
|
| @@ -345,6 +345,15 @@ WebInspector.CompilerScriptMapping.prototype = {
|
| for (var i = 0; i < callbacks.length; ++i)
|
| callbacks[i](sourceMap);
|
| }
|
| +
|
| + /**
|
| + * @param {string} content
|
| + * @this {WebInspector.CompilerScriptMapping}
|
| + */
|
| + function sourceMapContentLoaded(content)
|
| + {
|
| + this._debuggerModel.setSourceMapContent(script.scriptId, content);
|
| + }
|
| },
|
|
|
| _debuggerReset: function()
|
|
|