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/base/event_presenter.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
« no previous file with comments | « tracing/tracing/ui/base/elided_cache.html ('k') | tracing/tracing/ui/base/fast_rect_renderer.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/event_presenter.html
diff --git a/tracing/tracing/ui/base/event_presenter.html b/tracing/tracing/ui/base/event_presenter.html
index a1ad1d2f62b187ad9f7ff3086e0abb9bbe8bda65..2d078df56ca5ef937dda1630a2fcbddc6fb203ac 100644
--- a/tracing/tracing/ui/base/event_presenter.html
+++ b/tracing/tracing/ui/base/event_presenter.html
@@ -37,8 +37,9 @@ tr.exportTo('tr.ui.b', function() {
},
getTextColor: function(event) {
- if (event.selectionState === SelectionState.DIMMED)
+ if (event.selectionState === SelectionState.DIMMED) {
return 'rgb(60,60,60)';
+ }
return 'rgb(0,0,0)';
},
@@ -48,8 +49,9 @@ tr.exportTo('tr.ui.b', function() {
getSliceAlpha: function(slice, async) {
var alpha = 1;
- if (async)
+ if (async) {
alpha *= 0.3;
+ }
return alpha;
},
« no previous file with comments | « tracing/tracing/ui/base/elided_cache.html ('k') | tracing/tracing/ui/base/fast_rect_renderer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698