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

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

Issue 2390373003: Change all == to === and != to !== in trace viewer. (Closed)
Patch Set: more changes from code review 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/tracks/slice_group_track_test.html ('k') | tracing/tracing/value/histogram.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/tracks/stacked_bars_track.html
diff --git a/tracing/tracing/ui/tracks/stacked_bars_track.html b/tracing/tracing/ui/tracks/stacked_bars_track.html
index 762a16f95e8891622f7f078e412639b8af822a81..0f47419bf9a063d66493cab8cc1b70fa9225a974 100644
--- a/tracing/tracing/ui/tracks/stacked_bars_track.html
+++ b/tracing/tracing/ui/tracks/stacked_bars_track.html
@@ -69,8 +69,8 @@ tr.exportTo('tr.ui.tracks', function() {
snapshots,
function(x) { return x.ts; },
function(x, i) {
- if (i == snapshots.length - 1) {
- if (snapshots.length == 1)
+ if (i === snapshots.length - 1) {
+ if (snapshots.length === 1)
return maxBounds;
return snapshots[i].ts - snapshots[i - 1].ts;
« no previous file with comments | « tracing/tracing/ui/tracks/slice_group_track_test.html ('k') | tracing/tracing/value/histogram.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698