| 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 b68990059cc35965b075c4deeaa54b214a0e4c99..7635200fa90dd021e62616b1de8bbbe2793c0307 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';
|
| }
|
|
|
| @@ -1203,8 +1202,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);
|
|
|
| @@ -1777,11 +1777,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;
|
| };
|
|
|