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

Unified Diff: tracing/tracing/ui/analysis/memory_dump_header_pane.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/memory_dump_header_pane.html
diff --git a/tracing/tracing/ui/analysis/memory_dump_header_pane.html b/tracing/tracing/ui/analysis/memory_dump_header_pane.html
index 3033295062f00c7ec83976521358b91075e82f29..ec8a4b8e7f02c716e312e90576c82ace12ccbbdf 100644
--- a/tracing/tracing/ui/analysis/memory_dump_header_pane.html
+++ b/tracing/tracing/ui/analysis/memory_dump_header_pane.html
@@ -146,18 +146,20 @@ tr.exportTo('tr.ui.analysis', function() {
updateAggregationModeSelector_: function() {
var displayStyle;
if (this.containerMemoryDumps_ === undefined ||
- this.containerMemoryDumps_.length <= 1)
+ this.containerMemoryDumps_.length <= 1) {
displayStyle = 'none';
- else
+ } else {
displayStyle = 'initial';
+ }
this.$.aggregation_mode_container.style.display = displayStyle;
},
changeChildPane_: function() {
this.childPaneBuilder = function() {
if (this.containerMemoryDumps_ === undefined ||
- this.containerMemoryDumps_.length <= 0)
+ this.containerMemoryDumps_.length <= 0) {
return undefined;
+ }
var overviewPane = document.createElement(
'tr-ui-a-memory-dump-overview-pane');

Powered by Google App Engine
This is Rietveld 408576698