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

Unified Diff: tracing/tracing/model/cpu.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/counter.html ('k') | tracing/tracing/model/cpu_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/cpu.html
diff --git a/tracing/tracing/model/cpu.html b/tracing/tracing/model/cpu.html
index 28d49e9d3c448cf418e99be169312b132b3ad90b..61f4d40d54aab9a7e17e50878029079f0c2d912b 100644
--- a/tracing/tracing/model/cpu.html
+++ b/tracing/tracing/model/cpu.html
@@ -134,7 +134,7 @@ tr.exportTo('tr.model', function() {
createSubSlices: function() {
this.samples_ = this.kernel.model.samples.filter(function(sample) {
- return sample.cpu == this;
+ return sample.cpu === this;
}, this);
},
@@ -169,7 +169,7 @@ tr.exportTo('tr.model', function() {
*/
closeActiveThread: function(endTimestamp, args) {
// Don't generate a slice if the last active thread is the idle task.
- if (this.lastActiveThread_ == undefined || this.lastActiveThread_ == 0)
+ if (this.lastActiveThread_ === undefined || this.lastActiveThread_ === 0)
return;
if (endTimestamp < this.lastActiveTimestamp_) {
« no previous file with comments | « tracing/tracing/model/counter.html ('k') | tracing/tracing/model/cpu_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698