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

Unified Diff: tracing/tracing/extras/importer/v8/codemap.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/codemap.html
diff --git a/tracing/tracing/extras/importer/v8/codemap.html b/tracing/tracing/extras/importer/v8/codemap.html
index 0861e9f8e7ccb99a4d4f9c433049f225166b3efa..c33cf6d75581950ec385a3d6a31d65e27b6e95e5 100644
--- a/tracing/tracing/extras/importer/v8/codemap.html
+++ b/tracing/tracing/extras/importer/v8/codemap.html
@@ -183,9 +183,9 @@ tr.exportTo('tr.e.importer.v8', function() {
}
var min = this.dynamics_.findMin();
var max = this.dynamics_.findMax();
- if (max != null && addr < (max.key + max.value.size) && addr >= min.key) {
+ if (max !== null && addr < (max.key + max.value.size) && addr >= min.key) {
var dynaEntry = this.findInTree_(this.dynamics_, addr);
- if (dynaEntry == null) return null;
+ if (dynaEntry === null) return null;
// Dedupe entry name.
if (!dynaEntry.nameUpdated_) {
dynaEntry.name = this.dynamicsNameGen_.getName(dynaEntry.name);
@@ -348,9 +348,9 @@ tr.exportTo('tr.e.importer.v8', function() {
*/
get name() {
var name = this.name_;
- if (name.length == 0) {
+ if (name.length === 0) {
name = '<anonymous>';
- } else if (name.charAt(0) == ' ') {
+ } else if (name.charAt(0) === ' ') {
// An anonymous function with location: " aaa.js:10".
name = '<anonymous>' + name;
}
« no previous file with comments | « tracing/tracing/extras/importer/trace_event_importer_test.html ('k') | tracing/tracing/extras/importer/v8/log_reader.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698