Index: tracing/tracing/ui/base/table_test.html |
diff --git a/tracing/tracing/ui/base/table_test.html b/tracing/tracing/ui/base/table_test.html |
index b571aaefd8c7fc9d23fbde9036528a3f1b955404..f68a51f435a6f9e145082ec919d6616a36215e91 100644 |
--- a/tracing/tracing/ui/base/table_test.html |
+++ b/tracing/tracing/ui/base/table_test.html |
@@ -18,8 +18,7 @@ tr.b.unittest.testSuite(function() { |
var ColumnAlignment = tr.ui.b.TableFormat.ColumnAlignment; |
function isSelected(element) { |
- if (!element.hasAttribute('selected')) |
- return false; |
+ if (!element.hasAttribute('selected')) return false; |
return element.getAttribute('selected') === 'true'; |
} |
@@ -1229,8 +1228,9 @@ tr.b.unittest.testSuite(function() { |
test('focus_allCellsUnselectable', function() { |
var table = createMultiColumnNestedTable(); |
table.selectionMode = SelectionMode.CELL; |
- for (var c of table.tableColumns) |
+ for (var c of table.tableColumns) { |
c.supportsCellSelection = false; |
+ } |
table.tableColumns = table.tableColumns; |
this.addHTMLOutput(table); |
@@ -1803,11 +1803,9 @@ tr.b.unittest.testSuite(function() { |
table.defaultExpansionStateCallback = function(row, parentRow) { |
callbackCalled = true; |
- if (parentRow === undefined) |
- return true; |
+ if (parentRow === undefined) return true; |
- if (row.value >= (parentRow.value * 0.8)) |
- return true; |
+ if (row.value >= (parentRow.value * 0.8)) return true; |
return false; |
}; |