| Index: tracing/tracing/ui/analysis/alert_sub_view.html
|
| diff --git a/tracing/tracing/ui/analysis/alert_sub_view.html b/tracing/tracing/ui/analysis/alert_sub_view.html
|
| index bedfea04240c15463b415aa1d848fac221058d00..ade77dc9f175d9032d040fc6f711fc6b20c03cb1 100644
|
| --- a/tracing/tracing/ui/analysis/alert_sub_view.html
|
| +++ b/tracing/tracing/ui/analysis/alert_sub_view.html
|
| @@ -83,8 +83,9 @@ Polymer({
|
| new tr.model.EventSet(event), event.title);
|
|
|
| var valueString = '';
|
| - if (event instanceof tr.model.TimedEvent)
|
| + if (event instanceof tr.model.TimedEvent) {
|
| valueString = 'took ' + event.duration.toFixed(2) + 'ms';
|
| + }
|
|
|
| rows.push({
|
| name: linkEl,
|
| @@ -152,11 +153,11 @@ Polymer({
|
| },
|
|
|
| get relatedEventsToHighlight() {
|
| - if (!this.currentSelection_)
|
| - return undefined;
|
| + if (!this.currentSelection_) return undefined;
|
| var result = new tr.model.EventSet();
|
| - for (var event of this.currentSelection_)
|
| + for (var event of this.currentSelection_) {
|
| result.addEventSet(event.associatedEvents);
|
| + }
|
| return result;
|
| }
|
| });
|
|
|