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

Unified Diff: tracing/tracing/extras/chrome/cc/layer_tree_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_impl.html
diff --git a/tracing/tracing/extras/chrome/cc/layer_tree_impl.html b/tracing/tracing/extras/chrome/cc/layer_tree_impl.html
index b345cea26aaab0d7b2a4a4f1af5044aa9dcc500e..639e98e34516463f219baf8ab07ff2b6562c2d14 100644
--- a/tracing/tracing/extras/chrome/cc/layer_tree_impl.html
+++ b/tracing/tracing/extras/chrome/cc/layer_tree_impl.html
@@ -86,7 +86,7 @@ tr.exportTo('tr.e.cc', function() {
},
get hasSourceFrameBeenDrawnBefore() {
- if (this.whichTree == tr.e.cc.constants.PENDING_TREE)
+ if (this.whichTree === tr.e.cc.constants.PENDING_TREE)
return false;
// Old chrome's don't produce sourceFrameNumber.
@@ -107,11 +107,11 @@ tr.exportTo('tr.e.cc', function() {
// Old chrome's don't produce sourceFrameNumber.
if (prevLTHI.activeTree.sourceFrameNumber === undefined)
return;
- return prevLTHI.activeTree.sourceFrameNumber == this.sourceFrameNumber;
+ return prevLTHI.activeTree.sourceFrameNumber === this.sourceFrameNumber;
},
get otherTree() {
- var other = this.whichTree == constants.ACTIVE_TREE ?
+ var other = this.whichTree === constants.ACTIVE_TREE ?
constants.PENDING_TREE : constants.ACTIVE_TREE;
return this.layerTreeHostImpl.getTree(other);
},
@@ -151,7 +151,7 @@ tr.exportTo('tr.e.cc', function() {
findLayerWithId: function(id) {
var foundLayer = undefined;
function visitLayer(layer) {
- if (layer.layerId == id)
+ if (layer.layerId === id)
foundLayer = layer;
}
this.iterLayers(visitLayer);
« no previous file with comments | « tracing/tracing/extras/chrome/cc/layer_tree_host_impl.html ('k') | tracing/tracing/extras/chrome/cc/picture.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698