Index: Source/devtools/front_end/sources/CallStackSidebarPane.js |
diff --git a/Source/devtools/front_end/sources/CallStackSidebarPane.js b/Source/devtools/front_end/sources/CallStackSidebarPane.js |
index a41e399ab352acdf0052cbabd469d9846d82c64b..e933f55b969281741b36e1d4061bb74e3f4e2366 100644 |
--- a/Source/devtools/front_end/sources/CallStackSidebarPane.js |
+++ b/Source/devtools/front_end/sources/CallStackSidebarPane.js |
@@ -71,11 +71,7 @@ WebInspector.CallStackSidebarPane.prototype = { |
var topStackHidden = (this._hiddenPlacards === this.placards.length); |
while (asyncStackTrace) { |
- var title = asyncStackTrace.description; |
- if (title) |
- title += " " + WebInspector.UIString("(async)"); |
- else |
- title = WebInspector.UIString("Async Call"); |
+ var title = WebInspector.asyncStackTraceLabel(asyncStackTrace.description); |
var asyncPlacard = new WebInspector.Placard(title, ""); |
asyncPlacard.element.addEventListener("click", this._selectNextVisiblePlacard.bind(this, this.placards.length, false), false); |
asyncPlacard.element.addEventListener("contextmenu", this._asyncPlacardContextMenu.bind(this, this.placards.length), true); |