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

Unified Diff: tracing/tracing/extras/importer/linux_perf/sched_parser.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
Index: tracing/tracing/extras/importer/linux_perf/sched_parser.html
diff --git a/tracing/tracing/extras/importer/linux_perf/sched_parser.html b/tracing/tracing/extras/importer/linux_perf/sched_parser.html
index 08ad46aed4b330e6d68b69504ba881b68ce0169c..b3fa3788160b191313ade5502ab021a28c39c5a5 100644
--- a/tracing/tracing/extras/importer/linux_perf/sched_parser.html
+++ b/tracing/tracing/extras/importer/linux_perf/sched_parser.html
@@ -119,7 +119,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
powerCounter.name + '.' + 'State')));
}
powerCounter.series.forEach(function(series) {
- if (series.name == 'State')
+ if (series.name === 'State')
series.addCounterSample(ts, state.localeCompare('offline') ? 0 : 1);
});
return true;

Powered by Google App Engine
This is Rietveld 408576698