Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Unified Diff: tracing/tracing/ui/analysis/single_user_expectation_sub_view.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tracing/tracing/ui/analysis/single_user_expectation_sub_view.html
diff --git a/tracing/tracing/ui/analysis/single_user_expectation_sub_view.html b/tracing/tracing/ui/analysis/single_user_expectation_sub_view.html
index e0ad590d5b48e6ea459bf420d92ab31552304811..0f8d2d8ec46acac25341fee51cb6b7154583c43f 100644
--- a/tracing/tracing/ui/analysis/single_user_expectation_sub_view.html
+++ b/tracing/tracing/ui/analysis/single_user_expectation_sub_view.html
@@ -55,15 +55,15 @@ Polymer({
this.$.realView.setSelectionWithoutErrorChecks(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 relatedEventsToHighlight() {
- if (!this.currentSelection_)
- return undefined;
+ if (!this.currentSelection_) return undefined;
return tr.b.getOnlyElement(this.currentSelection_).associatedEvents;
},
« no previous file with comments | « tracing/tracing/ui/analysis/single_thread_time_slice_sub_view.html ('k') | tracing/tracing/ui/analysis/stacked_pane_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698