| Index: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
|
| index f05529ab874395074f47a73c10b558686995ebde..141eb0a9ef171b3d0d853e9044fb8d775fe5d7fb 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
|
| @@ -570,8 +570,18 @@ WebInspector.JavaScriptSourceFrame.prototype = {
|
| }
|
| }
|
| var evaluationText = line.substring(startHighlight, endHighlight + 1);
|
| - var selectedCallFrame = debuggerModel.selectedCallFrame();
|
| - selectedCallFrame.evaluate(evaluationText, objectGroupName, false, true, false, false, showObjectPopover.bind(this));
|
| + var selectedCallFrame = /** @type {!WebInspector.DebuggerModel.CallFrame}*/ (debuggerModel.selectedCallFrame());
|
| +
|
| + WebInspector.SourceMapNamesResolver.resolveExpression(selectedCallFrame, evaluationText, this.uiSourceCode(), lineNumber, startHighlight, endHighlight).then(onResolve.bind(this));
|
| +
|
| + /**
|
| + * @param {?string=} text
|
| + * @this {WebInspector.JavaScriptSourceFrame}
|
| + */
|
| + function onResolve(text)
|
| + {
|
| + selectedCallFrame.evaluate(text || evaluationText, objectGroupName, false, true, false, false, showObjectPopover.bind(this));
|
| + }
|
|
|
| /**
|
| * @param {?RuntimeAgent.RemoteObject} result
|
|
|