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

Unified Diff: tracing/tracing/ui/tracks/rect_track.html

Issue 2432993005: Turn on eslint rule one-var and fix existing errors. (Closed)
Patch Set: Created 4 years, 2 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/quad_stack_view.html ('k') | tracing/tracing/value/ui/scalar_span.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/tracks/rect_track.html
diff --git a/tracing/tracing/ui/tracks/rect_track.html b/tracing/tracing/ui/tracks/rect_track.html
index 770dc97318ded58c59b8607546cfb540351aff94..88dfb4457519356ab2d305bd7723cd807d29309a 100644
--- a/tracing/tracing/ui/tracks/rect_track.html
+++ b/tracing/tracing/ui/tracks/rect_track.html
@@ -126,7 +126,8 @@ tr.exportTo('tr.ui.tracks', function() {
if (bounds.height <= 6)
return;
- var fontSize, yOffset;
+ var fontSize;
+ var yOffset;
if (bounds.height < 15) {
fontSize = 6;
yOffset = 1.0;
« no previous file with comments | « tracing/tracing/ui/base/quad_stack_view.html ('k') | tracing/tracing/value/ui/scalar_span.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698