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

Unified Diff: tracing/tracing/ui/side_panel/side_panel_container.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/ui/side_panel/side_panel_container.html
diff --git a/tracing/tracing/ui/side_panel/side_panel_container.html b/tracing/tracing/ui/side_panel/side_panel_container.html
index 9b959b91a354879c50eb3707f3125a2b1823f57b..2f2067f2e84daaac38972b8ba8719b8f2aaba963 100644
--- a/tracing/tracing/ui/side_panel/side_panel_container.html
+++ b/tracing/tracing/ui/side_panel/side_panel_container.html
@@ -186,14 +186,14 @@ Polymer({
getPanelTypeForConstructor_: function(constructor) {
for (var i = 0; i < this.tabStrip_.children.length; i++) {
- if (this.tabStrip_.children[i].panelType.constructor == constructor)
+ if (this.tabStrip_.children[i].panelType.constructor === constructor)
return this.tabStrip_.children[i].panelType;
}
},
getLabelElementForPanelType_: function(panelType) {
for (var i = 0; i < this.tabStrip_.children.length; i++) {
- if (this.tabStrip_.children[i].panelType == panelType)
+ if (this.tabStrip_.children[i].panelType === panelType)
return this.tabStrip_.children[i];
}
return undefined;
@@ -232,7 +232,7 @@ Polymer({
// Restore the active panel, or collapse
if (previouslyActivePanelType &&
- supportedPanelTypes.indexOf(previouslyActivePanelType) != -1) {
+ supportedPanelTypes.indexOf(previouslyActivePanelType) !== -1) {
this.activePanelType = previouslyActivePanelType;
Polymer.dom(this).setAttribute('expanded', true);
} else {
@@ -247,7 +247,7 @@ Polymer({
},
set rangeOfInterest(range) {
- if (range == undefined)
+ if (range === undefined)
throw new Error('Must not be undefined');
this.rangeOfInterest_ = range;
if (this.activePanel)

Powered by Google App Engine
This is Rietveld 408576698