Index: tracing/tracing/ui/tracks/process_summary_track.html |
diff --git a/tracing/tracing/ui/tracks/process_summary_track.html b/tracing/tracing/ui/tracks/process_summary_track.html |
index 4390766292d60657ac339021d3c22feb4765843f..9069ca86abea361fa30d09376ce5f1dc9c6dffd7 100644 |
--- a/tracing/tracing/ui/tracks/process_summary_track.html |
+++ b/tracing/tracing/ui/tracks/process_summary_track.html |
@@ -76,7 +76,7 @@ tr.exportTo('tr.ui.tracks', function() { |
if (currentSlice) { |
// simply find end of current important slice |
- if (!op.isStart && op.slice == currentSlice) { |
+ if (!op.isStart && op.slice === currentSlice) { |
// important slice has ended |
pushRect(lastStart, op.time, currentSlice); |
lastStart = depth >= 1 ? op.time : undefined; |
@@ -84,19 +84,19 @@ tr.exportTo('tr.ui.tracks', function() { |
} |
} else { |
if (op.isStart) { |
- if (depth == 1) { |
+ if (depth === 1) { |
lastStart = op.time; |
currentSlice = op.slice; |
} else if (op.slice) { |
// switch to slice |
- if (op.time != lastStart) { |
+ if (op.time !== lastStart) { |
pushRect(lastStart, op.time, undefined); |
lastStart = op.time; |
} |
currentSlice = op.slice; |
} |
} else { |
- if (depth == 0) { |
+ if (depth === 0) { |
pushRect(lastStart, op.time, undefined); |
lastStart = undefined; |
} |