Skip to content

Commit

Permalink
DevTools: fix FlameChart compile error due to mid-air collision with …
Browse files Browse the repository at this point in the history
…compiler roll

[email protected],[email protected]

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

Cr-Commit-Position: refs/heads/master@{#380282}
  • Loading branch information
caseq authored and Commit bot committed Mar 10, 2016
1 parent b7f8409 commit 7730a99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions front_end/ui_lazy/FlameChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ WebInspector.FlameChartDataProvider = function()
}

/**
* @typedef {!{name: string, startLevel: number, expanded: boolean, style: !WebInspector.FlameChart.GroupStyle}}
* @typedef {!{name: string, startLevel: number, expanded: (boolean|undefined), style: !WebInspector.FlameChart.GroupStyle}}
*/
WebInspector.FlameChart.Group;

Expand Down Expand Up @@ -1401,7 +1401,7 @@ WebInspector.FlameChart.prototype = {
context.beginPath();
forEachGroup((offset, index, group) => {
if (group.style.collapsible)
drawExpansionArrow(expansionArrowX, offset + textBaseHeight - arrowSide / 2, group.expanded)
drawExpansionArrow(expansionArrowX, offset + textBaseHeight - arrowSide / 2, !!group.expanded)
});
context.fill();

Expand Down

0 comments on commit 7730a99

Please sign in to comment.