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

Unified Diff: tracing/tracing/extras/importer/linux_perf/sync_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/sync_parser.html
diff --git a/tracing/tracing/extras/importer/linux_perf/sync_parser.html b/tracing/tracing/extras/importer/linux_perf/sync_parser.html
index 6066b66b58e96a6335d50a3524c0a384e637e619..e5e3228aa5950e29a1a136abfa25c792bdd6dee3 100644
--- a/tracing/tracing/extras/importer/linux_perf/sync_parser.html
+++ b/tracing/tracing/extras/importer/linux_perf/sync_parser.html
@@ -58,7 +58,7 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
if (thread.lastActiveTs !== undefined) {
var duration = ts - thread.lastActiveTs;
var value = thread.lastActiveValue;
- if (value == undefined)
+ if (value === undefined)
value = ' ';
var slice = new tr.model.ThreadSlice(
'', value,
@@ -96,11 +96,11 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
}
var name = 'fence_wait("' + event[2] + '")';
- if (event[1] == 'begin') {
+ if (event[1] === 'begin') {
var slice = slices.beginSlice(null, name, ts, {
'Start state': event[3]
});
- } else if (event[1] == 'end') {
+ } else if (event[1] === 'end') {
if (slices.openSliceCount > 0) {
slices.endSlice(ts);
}
« no previous file with comments | « tracing/tracing/extras/importer/linux_perf/sched_parser.html ('k') | tracing/tracing/extras/importer/trace2html_importer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698