| Index: third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js b/third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js
|
| index e0158940f93897899c8c283d7f1fbf68065990e7..ad6d4800e508d06533e5ff94ff308e65d7bcb921 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js
|
| @@ -251,12 +251,12 @@ Sources.SourceMapNamesResolver.resolveExpression = function(
|
| */
|
| Sources.SourceMapNamesResolver._resolveExpression = function(
|
| uiSourceCode, lineNumber, startColumnNumber, endColumnNumber) {
|
| - var rawLocation =
|
| - Bindings.debuggerWorkspaceBinding.uiLocationToRawLocation(uiSourceCode, lineNumber, startColumnNumber);
|
| - if (!rawLocation)
|
| + var rawLocations =
|
| + Bindings.debuggerWorkspaceBinding.uiLocationToRawLocations(uiSourceCode, lineNumber, startColumnNumber);
|
| + if (!rawLocations.length)
|
| return Promise.resolve('');
|
|
|
| - var script = rawLocation.script();
|
| + var script = rawLocations[0].script();
|
| if (!script)
|
| return Promise.resolve('');
|
| var sourceMap = Bindings.debuggerWorkspaceBinding.sourceMapForScript(script);
|
|
|