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

Unified Diff: tracing/tracing/ui/timeline_display_transform.html

Issue 2390373003: Change all == to === and != to !== in trace viewer. (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
Index: tracing/tracing/ui/timeline_display_transform.html
diff --git a/tracing/tracing/ui/timeline_display_transform.html b/tracing/tracing/ui/timeline_display_transform.html
index 49c10e291239b8abb23e7de5b4fb23056b18f8e7..bc1bc4cc12c301d64d87bde17565a8fd638fd81d 100644
--- a/tracing/tracing/ui/timeline_display_transform.html
+++ b/tracing/tracing/ui/timeline_display_transform.html
@@ -57,7 +57,7 @@ tr.exportTo('tr.ui', function() {
},
xPanWorldPosToViewPos: function(worldX, viewX, viewWidth) {
- if (typeof viewX == 'string') {
+ if (typeof viewX === 'string') {
if (viewX === 'left') {
viewX = 0;
} else if (viewX === 'center') {

Powered by Google App Engine
This is Rietveld 408576698