| Index: third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
|
| index f827cb0c68dda5a2179eca85360e266091d40ee4..def9c701a858985bf84ad9980c8cdfc7380c2dc7 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
|
| @@ -96,10 +96,8 @@ Sources.CallStackSidebarPane = class extends UI.SimpleView {
|
| var isAwait = asyncStackTrace.description === 'async function';
|
| if (isAwait && peviousStackTrace.length && asyncStackTrace.callFrames.length) {
|
| var lastPreviousFrame = peviousStackTrace[peviousStackTrace.length - 1];
|
| - var topFrame = asyncStackTrace.callFrames[0];
|
| var lastPreviousFrameName = UI.beautifyFunctionName(lastPreviousFrame.functionName);
|
| - var topFrameName = UI.beautifyFunctionName(topFrame.functionName);
|
| - title = topFrameName + ' awaits ' + lastPreviousFrameName;
|
| + title = UI.asyncStackTraceLabel('await in ' + lastPreviousFrameName);
|
| } else {
|
| title = UI.asyncStackTraceLabel(asyncStackTrace.description);
|
| }
|
|
|