Commit 20974205 authored by alph@chromium.org's avatar alph@chromium.org

DevTools: Fix exception on timeline clear

BUG=524711
NOTRY=true

Review URL: https://codereview.chromium.org/1317733002

git-svn-id: svn://svn.chromium.org/blink/trunk@201173 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 84afb0ec
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment