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

Unified Diff: tracing/tracing/extras/chrome/cc/layer_tree_host_impl.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/chrome/cc/layer_tree_host_impl.html
diff --git a/tracing/tracing/extras/chrome/cc/layer_tree_host_impl.html b/tracing/tracing/extras/chrome/cc/layer_tree_host_impl.html
index 497159006928562f208f8300f3ccafc68fc3ce3c..3df73b5d39bd69e802ddfb6478621b73a477236c 100644
--- a/tracing/tracing/extras/chrome/cc/layer_tree_host_impl.html
+++ b/tracing/tracing/extras/chrome/cc/layer_tree_host_impl.html
@@ -83,9 +83,9 @@ tr.exportTo('tr.e.cc', function() {
},
getTree: function(whichTree) {
- if (whichTree == constants.ACTIVE_TREE)
+ if (whichTree === constants.ACTIVE_TREE)
return this.activeTree;
- if (whichTree == constants.PENDING_TREE)
+ if (whichTree === constants.PENDING_TREE)
return this.pendingTree;
throw new Exception('Unknown tree type + ' + whichTree);
},
« no previous file with comments | « tracing/tracing/extras/chrome/cc/layer_impl.html ('k') | tracing/tracing/extras/chrome/cc/layer_tree_impl.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698