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

Unified Diff: tracing/tracing/extras/importer/v8/v8_log_importer.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/v8/v8_log_importer.html
diff --git a/tracing/tracing/extras/importer/v8/v8_log_importer.html b/tracing/tracing/extras/importer/v8/v8_log_importer.html
index a62368906d6564d45c8aba909f5d779d4fdd1c46..bcc9e77896f30a0637c7348c214c29f10a5be1dd 100644
--- a/tracing/tracing/extras/importer/v8/v8_log_importer.html
+++ b/tracing/tracing/extras/importer/v8/v8_log_importer.html
@@ -68,12 +68,12 @@ tr.exportTo('tr.e.importer.v8', function() {
if (typeof(eventData) !== 'string' && !(eventData instanceof String))
return false;
- return eventData.substring(0, 11) == 'v8-version,' ||
- eventData.substring(0, 12) == 'timer-event,' ||
- eventData.substring(0, 5) == 'tick,' ||
- eventData.substring(0, 15) == 'shared-library,' ||
- eventData.substring(0, 9) == 'profiler,' ||
- eventData.substring(0, 14) == 'code-creation,';
+ return eventData.substring(0, 11) === 'v8-version,' ||
+ eventData.substring(0, 12) === 'timer-event,' ||
+ eventData.substring(0, 5) === 'tick,' ||
+ eventData.substring(0, 15) === 'shared-library,' ||
+ eventData.substring(0, 9) === 'profiler,' ||
+ eventData.substring(0, 14) === 'code-creation,';
};
V8LogImporter.prototype = {
@@ -188,7 +188,7 @@ tr.exportTo('tr.e.importer.v8', function() {
function findChildWithEntryID(stackFrame, entryID) {
for (var i = 0; i < stackFrame.children.length; i++) {
- if (stackFrame.children[i].entryID == entryID)
+ if (stackFrame.children[i].entryID === entryID)
return stackFrame.children[i];
}
return undefined;
« no previous file with comments | « tracing/tracing/extras/importer/v8/splaytree.html ('k') | tracing/tracing/extras/system_stats/system_stats_snapshot.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698