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

Unified Diff: tracing/tracing/ui/extras/chrome/layout_tree_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/extras/chrome/layout_tree_sub_view.html
diff --git a/tracing/tracing/ui/extras/chrome/layout_tree_sub_view.html b/tracing/tracing/ui/extras/chrome/layout_tree_sub_view.html
index bfc9e39b12e739f1c3ec2e7b36744aa8ccdc9bbf..203cc50af3d13a60a197ab9761cfa65229ad274e 100644
--- a/tracing/tracing/ui/extras/chrome/layout_tree_sub_view.html
+++ b/tracing/tracing/ui/extras/chrome/layout_tree_sub_view.html
@@ -37,8 +37,7 @@ tr.exportTo('tr.ui.analysis', function() {
updateContents_: function() {
this.set('$.content.textContent', '');
- if (!this.currentSelection_)
- return;
+ if (!this.currentSelection_) return;
var columns = [
{
@@ -149,8 +148,9 @@ tr.exportTo('tr.ui.analysis', function() {
{
title: 'row',
value: function(layoutObject) {
- if (layoutObject.tableRow === undefined)
+ if (layoutObject.tableRow === undefined) {
return '';
+ }
return layoutObject.tableRow;
}
},
@@ -158,8 +158,9 @@ tr.exportTo('tr.ui.analysis', function() {
{
title: 'col',
value: function(layoutObject) {
- if (layoutObject.tableCol === undefined)
+ if (layoutObject.tableCol === undefined) {
return '';
+ }
return layoutObject.tableCol;
}
},
@@ -167,8 +168,9 @@ tr.exportTo('tr.ui.analysis', function() {
{
title: 'rowSpan',
value: function(layoutObject) {
- if (layoutObject.tableRowSpan === undefined)
+ if (layoutObject.tableRowSpan === undefined) {
return '';
+ }
return layoutObject.tableRowSpan;
}
},
@@ -176,8 +178,9 @@ tr.exportTo('tr.ui.analysis', function() {
{
title: 'colSpan',
value: function(layoutObject) {
- if (layoutObject.tableColSpan === undefined)
+ if (layoutObject.tableColSpan === undefined) {
return '';
+ }
return layoutObject.tableColSpan;
}
},
« no previous file with comments | « tracing/tracing/ui/extras/chrome/cc/tile_view.html ('k') | tracing/tracing/ui/extras/deep_reports/html_results.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698