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

Unified Diff: tracing/tracing/ui/tracks/slice_group_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/rect_track.html ('k') | tracing/tracing/ui/tracks/slice_group_track_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/tracks/slice_group_track.html
diff --git a/tracing/tracing/ui/tracks/slice_group_track.html b/tracing/tracing/ui/tracks/slice_group_track.html
index bcb4db97e51d872da746e280c06e0a751b42eec0..70c7bc5c26cd3c6f3739b5c876f24931d5da46aa 100644
--- a/tracing/tracing/ui/tracks/slice_group_track.html
+++ b/tracing/tracing/ui/tracks/slice_group_track.html
@@ -111,7 +111,7 @@ tr.exportTo('tr.ui.tracks', function() {
ops.sort(function(ix, iy) {
var x = slices[ix];
var y = slices[iy];
- if (x.start != y.start)
+ if (x.start !== y.start)
return x.start - y.start;
// Elements get inserted into the slices array in order of when the
@@ -131,7 +131,7 @@ tr.exportTo('tr.ui.tracks', function() {
// Try to fit the slice into the existing subrows.
var inserted = false;
for (var j = subRows.length - 1; j >= 0; j--) {
- if (subRows[j].length == 0)
+ if (subRows[j].length === 0)
continue;
var insertedSlice = subRows[j][subRows[j].length - 1];
« no previous file with comments | « tracing/tracing/ui/tracks/rect_track.html ('k') | tracing/tracing/ui/tracks/slice_group_track_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698