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 d4a9c03191d14d862ac3564086876b728d2e7583..251e6ae9436d6470091e42b1fe4941fbc283141a 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js |
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js |
@@ -200,7 +200,16 @@ Bindings.CompilerScriptMapping = class { |
this._stubUISourceCodes.set(script.scriptId, stubUISourceCode); |
this._debuggerWorkspaceBinding.pushSourceMapping(script, this); |
- this._loadSourceMapForScript(script).then(this._sourceMapLoaded.bind(this, script, stubUISourceCode.url())); |
+ this._loadSourceMapForScript(script).then(sourceMap => { |
+ this._sourceMapLoaded(script, stubUISourceCode.url(), sourceMap); |
+ this._sourceMapAttachedForTest(sourceMap); |
+ }); |
+ } |
+ |
+ /** |
+ * @param {?SDK.TextSourceMap} sourceMap |
+ */ |
+ _sourceMapAttachedForTest(sourceMap) { |
} |
/** |