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

Unified Diff: tracing/tracing/extras/chrome/cc/layer_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_impl.html
diff --git a/tracing/tracing/extras/chrome/cc/layer_impl.html b/tracing/tracing/extras/chrome/cc/layer_impl.html
index 4314106896057f4508e2d82a49e2f185ef82a7ff..9f711166a7ca2e7771be416d35f674722cdef9cd 100644
--- a/tracing/tracing/extras/chrome/cc/layer_impl.html
+++ b/tracing/tracing/extras/chrome/cc/layer_impl.html
@@ -102,14 +102,14 @@ tr.exportTo('tr.e.cc', function() {
},
get activeLayer() {
- if (this.layerTreeImpl.whichTree == constants.ACTIVE_TREE)
+ if (this.layerTreeImpl.whichTree === constants.ACTIVE_TREE)
return this;
var activeTree = this.layerTreeImpl.layerTreeHostImpl.activeTree;
return activeTree.findLayerWithId(this.layerId);
},
get pendingLayer() {
- if (this.layerTreeImpl.whichTree == constants.PENDING_TREE)
+ if (this.layerTreeImpl.whichTree === constants.PENDING_TREE)
return this;
var pendingTree = this.layerTreeImpl.layerTreeHostImpl.pendingTree;
return pendingTree.findLayerWithId(this.layerId);

Powered by Google App Engine
This is Rietveld 408576698