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

Unified Diff: tracing/tracing/ui/timeline_viewport.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/timeline_view_test.html ('k') | tracing/tracing/ui/tracks/chart_transform.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/timeline_viewport.html
diff --git a/tracing/tracing/ui/timeline_viewport.html b/tracing/tracing/ui/timeline_viewport.html
index 99845a43d3b10074765ee72adbb1dc18f49bf2a6..59301b9a62e6f3d8629c009cbf3d02b25fb9f5f3 100644
--- a/tracing/tracing/ui/timeline_viewport.html
+++ b/tracing/tracing/ui/timeline_viewport.html
@@ -113,7 +113,7 @@ tr.exportTo('tr.ui', function() {
* and then runs the pendingSetFunction_, if present.
*/
checkForAttach_: function() {
- if (!this.isAttachedToDocumentOrInTestMode || this.clientWidth == 0)
+ if (!this.isAttachedToDocumentOrInTestMode || this.clientWidth === 0)
return;
window.addEventListener('resize', this.dispatchChangeEvent.bind(this));
@@ -287,7 +287,7 @@ tr.exportTo('tr.ui', function() {
},
set gridEnabled(enabled) {
- if (this.gridEnabled_ == enabled)
+ if (this.gridEnabled_ === enabled)
return;
this.gridEnabled_ = enabled && true;
@@ -299,7 +299,7 @@ tr.exportTo('tr.ui', function() {
},
set gridTimebase(timebase) {
- if (this.gridTimebase_ == timebase)
+ if (this.gridTimebase_ === timebase)
return;
this.gridTimebase_ = timebase;
this.dispatchChangeEvent();
@@ -388,7 +388,7 @@ tr.exportTo('tr.ui', function() {
event, offset, newSelection);
}
- if (newSelection.length == 0)
+ if (newSelection.length === 0)
return undefined;
return newSelection;
},
« no previous file with comments | « tracing/tracing/ui/timeline_view_test.html ('k') | tracing/tracing/ui/tracks/chart_transform.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698