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

Unified Diff: tracing/tracing/extras/importer/v8/splaytree.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/splaytree.html
diff --git a/tracing/tracing/extras/importer/v8/splaytree.html b/tracing/tracing/extras/importer/v8/splaytree.html
index 05f803765dba8c76b588165035046dfcc8e2e6ff..a3d7a244f7533de4313cac549f4d4b4d70d17b6a 100644
--- a/tracing/tracing/extras/importer/v8/splaytree.html
+++ b/tracing/tracing/extras/importer/v8/splaytree.html
@@ -20,7 +20,7 @@ tr.exportTo('tr.e.importer.v8', function() {
*
* @constructor
*/
- function SplayTree() { };
+ function SplayTree() { }
/**
* Pointer to the root node of the tree.
@@ -53,7 +53,7 @@ tr.exportTo('tr.e.importer.v8', function() {
// Splay on the key to move the last node on the search path for
// the key to the root of the tree.
this.splay_(key);
- if (this.root_.key == key) {
+ if (this.root_.key === key) {
return;
}
var node = new SplayTree.Node(key, value);
@@ -83,7 +83,7 @@ tr.exportTo('tr.e.importer.v8', function() {
throw Error('Key not found: ' + key);
}
this.splay_(key);
- if (this.root_.key != key) {
+ if (this.root_.key !== key) {
throw Error('Key not found: ' + key);
}
var removed = this.root_;
@@ -115,7 +115,7 @@ tr.exportTo('tr.e.importer.v8', function() {
return null;
}
this.splay_(key);
- return this.root_.key == key ? this.root_ : null;
+ return this.root_.key === key ? this.root_ : null;
};
/**
@@ -269,7 +269,7 @@ tr.exportTo('tr.e.importer.v8', function() {
var nodesToVisit = [this.root_];
while (nodesToVisit.length > 0) {
var node = nodesToVisit.shift();
- if (node == null) {
+ if (node === null) {
continue;
}
f(node);
« no previous file with comments | « tracing/tracing/extras/importer/v8/log_reader.html ('k') | tracing/tracing/extras/importer/v8/v8_log_importer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698