| Index: tracing/tracing/ui/analysis/multi_user_expectation_sub_view.html
|
| diff --git a/tracing/tracing/ui/analysis/multi_user_expectation_sub_view.html b/tracing/tracing/ui/analysis/multi_user_expectation_sub_view.html
|
| index 0caf158532c20dc786f86dd7522bde254c8f7a2a..6dc1eeff25e24df52350e0f9067be35f92339588 100644
|
| --- a/tracing/tracing/ui/analysis/multi_user_expectation_sub_view.html
|
| +++ b/tracing/tracing/ui/analysis/multi_user_expectation_sub_view.html
|
| @@ -47,10 +47,11 @@ Polymer({
|
| this.currentSelection_ = selection;
|
|
|
| this.$.relatedSamples.selection = selection;
|
| - if (this.$.relatedSamples.hasRelatedSamples())
|
| + if (this.$.relatedSamples.hasRelatedSamples()) {
|
| this.$.events.style.display = '';
|
| - else
|
| + } else {
|
| this.$.events.style.display = 'none';
|
| + }
|
| },
|
|
|
| get selection() {
|
| @@ -58,8 +59,8 @@ Polymer({
|
| },
|
|
|
| get relatedEventsToHighlight() {
|
| - if (!this.currentSelection_)
|
| - return undefined;
|
| + if (!this.currentSelection_) return undefined;
|
| +
|
| var selection = new tr.model.EventSet();
|
| this.currentSelection_.forEach(function(ir) {
|
| ir.associatedEvents.forEach(function(event) {
|
|
|