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

Unified Diff: tracing/tracing/model/thread.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/stack_frame.html ('k') | tracing/tracing/model/thread_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/thread.html
diff --git a/tracing/tracing/model/thread.html b/tracing/tracing/model/thread.html
index a15ecc027350fd9dbe51736ecb6efa2ef5f9df2f..b34add1ed95dcc471d65880b53220c719c30e610 100644
--- a/tracing/tracing/model/thread.html
+++ b/tracing/tracing/model/thread.html
@@ -191,7 +191,7 @@ tr.exportTo('tr.model', function() {
createSubSlices: function() {
this.sliceGroup.createSubSlices();
this.samples_ = this.parent.model.samples.filter(function(sample) {
- return sample.thread == this;
+ return sample.thread === this;
}, this);
},
@@ -255,7 +255,7 @@ tr.exportTo('tr.model', function() {
threadTimeSlice.end);
var intersection = freqRange.findIntersection(range);
- if (threadTimeSlice.schedulingState ==
+ if (threadTimeSlice.schedulingState ===
tr.model.SCHEDULING_STATE.RUNNING) {
var cpu = threadTimeSlice.cpuOnWhichThreadWasRunning;
if (!(cpu.cpuNumber in stats))
« no previous file with comments | « tracing/tracing/model/stack_frame.html ('k') | tracing/tracing/model/thread_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698