| 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)
|
|
|