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

Unified Diff: tracing/tracing/model/counter.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/model/async_slice.html ('k') | tracing/tracing/model/cpu.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/counter.html
diff --git a/tracing/tracing/model/counter.html b/tracing/tracing/model/counter.html
index a648fd4d97859fe52f7693e28c53056f8d7bcbe0..116afa05cc61e722b52c55d8bd8dbdfe071440d8 100644
--- a/tracing/tracing/model/counter.html
+++ b/tracing/tracing/model/counter.html
@@ -180,10 +180,10 @@ tr.exportTo('tr.model', function() {
*/
Counter.compare = function(x, y) {
var tmp = x.parent.compareTo(y.parent);
- if (tmp != 0)
+ if (tmp !== 0)
return tmp;
var tmp = x.name.localeCompare(y.name);
- if (tmp == 0)
+ if (tmp === 0)
return x.tid - y.tid;
return tmp;
};
« no previous file with comments | « tracing/tracing/model/async_slice.html ('k') | tracing/tracing/model/cpu.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698