Index: third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js |
index ffd10d8e6488e32dbdfc29d1e10ac9f2951afbf9..bbcf100372384411ec468aa8402f2eb223eeef0d 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineTreeView.js |
@@ -107,7 +107,7 @@ WebInspector.TimelineTreeView.prototype = { |
_onHover: function(node) { }, |
/** |
- * @param {!ConsoleAgent.CallFrame} frame |
+ * @param {!RuntimeAgent.CallFrame} frame |
* @return {!Element} |
*/ |
linkifyLocation: function(frame) |
@@ -394,7 +394,7 @@ WebInspector.TimelineTreeView.eventStackFrame = function(event) |
if (topFrame) |
return topFrame; |
var initiator = event.initiator; |
- return initiator && initiator.stackTrace && initiator.stackTrace[0] || null; |
+ return initiator && initiator.stack && initiator.stack.callFrames[0] || null; |
dgozman
2016/02/04 01:43:06
Double-check.
pfeldman
2016/02/04 03:15:59
Done.
|
} |
/** |
@@ -461,7 +461,7 @@ WebInspector.TimelineTreeView.GridNode.prototype = { |
: WebInspector.TimelineUIUtils.eventTitle(event); |
var frame = WebInspector.TimelineTreeView.eventStackFrame(event); |
if (frame && frame["url"]) { |
- var callFrame = /** @type {!ConsoleAgent.CallFrame} */ (frame); |
+ var callFrame = /** @type {!RuntimeAgent.CallFrame} */ (frame); |
container.createChild("div", "activity-link").appendChild(this._treeView.linkifyLocation(callFrame)); |
} |
icon.style.backgroundColor = WebInspector.TimelineUIUtils.eventColor(event); |