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

Unified Diff: tracing/tracing/ui/analysis/multi_thread_slice_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/multi_thread_slice_sub_view.html
diff --git a/tracing/tracing/ui/analysis/multi_thread_slice_sub_view.html b/tracing/tracing/ui/analysis/multi_thread_slice_sub_view.html
index 08e41c64d37343254a4f6d95d088c80bca8eecc3..e8666c1c16ae7ebb2af2a7e305d4f5d0fd3b357d 100644
--- a/tracing/tracing/ui/analysis/multi_thread_slice_sub_view.html
+++ b/tracing/tracing/ui/analysis/multi_thread_slice_sub_view.html
@@ -82,11 +82,11 @@ Polymer({
},
get requiresTallView() {
- if (this.$.content.children.length === 0)
- return false;
+ if (this.$.content.children.length === 0) return false;
var childTagName = this.$.content.children[0].tagName;
- if (childTagName === 'TR-UI-A-MULTI-EVENT-SUB-VIEW')
+ if (childTagName === 'TR-UI-A-MULTI-EVENT-SUB-VIEW') {
return false;
+ }
// Using raster task view.
return true;

Powered by Google App Engine
This is Rietveld 408576698