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

Unified Diff: tracing/tracing/ui/tracks/rect_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
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 4eaa323d820bf6612d21199f6d82112294ca3722..770dc97318ded58c59b8607546cfb540351aff94 100644
--- a/tracing/tracing/ui/tracks/rect_track.html
+++ b/tracing/tracing/ui/tracks/rect_track.html
@@ -163,7 +163,7 @@ tr.exportTo('tr.ui.tracks', function() {
var instantEventWidth = 2 * viewPixWidthWorld;
tr.b.iterateOverIntersectingIntervals(this.rects_,
function(x) { return x.start; },
- function(x) { return x.duration == 0 ?
+ function(x) { return x.duration === 0 ?
x.duration + instantEventWidth :
x.duration; },
loWX, hiWX,
@@ -237,7 +237,7 @@ tr.exportTo('tr.ui.tracks', function() {
this.start = start;
this.duration = duration;
this.end = start + duration;
- };
+ }
Rect.prototype = {
__proto__: tr.model.ProxySelectableItem.prototype
« no previous file with comments | « tracing/tracing/ui/tracks/process_summary_track.html ('k') | tracing/tracing/ui/tracks/slice_group_track.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698