Index: Source/devtools/front_end/timeline/TimelineModel.js |
diff --git a/Source/devtools/front_end/timeline/TimelineModel.js b/Source/devtools/front_end/timeline/TimelineModel.js |
index e9077775dd163524a66a0084eefacb06fa1ee15d..f56571beaca93a2f7be3daf91deda39217b872c2 100644 |
--- a/Source/devtools/front_end/timeline/TimelineModel.js |
+++ b/Source/devtools/front_end/timeline/TimelineModel.js |
@@ -1553,7 +1553,8 @@ WebInspector.TimelineModel.buildBottomUpTree = function(topDownTree, groupingCal |
/** @type {!Map<string,!WebInspector.TimelineModel.ProfileTreeNode>} */ |
buRoot.children = new Map(); |
var nodesOnStack = /** @type {!Set<string>} */ (new Set()); |
- topDownTree.children.forEach(processNode); |
+ if (topDownTree.children) |
+ topDownTree.children.forEach(processNode); |
/** |
* @param {!WebInspector.TimelineModel.ProfileTreeNode} tdNode |