| Index: tracing/tracing/ui/base/pie_chart.html
|
| diff --git a/tracing/tracing/ui/base/pie_chart.html b/tracing/tracing/ui/base/pie_chart.html
|
| index 17980a512cf8b66c01d153bdab3592b18af7bfd7..36418c41473ee742dcd8c3ed97fe22638245fd8a 100644
|
| --- a/tracing/tracing/ui/base/pie_chart.html
|
| +++ b/tracing/tracing/ui/base/pie_chart.html
|
| @@ -91,7 +91,7 @@ tr.exportTo('tr.ui.b', function() {
|
| labelSel.each(function(l) {
|
| var r = this.getBoundingClientRect();
|
| maxLabelWidth = Math.max(maxLabelWidth, r.width + 32);
|
| - if (this.style.textAnchor == 'end') {
|
| + if (this.style.textAnchor === 'end') {
|
| leftTextHeightSum += r.height;
|
| } else {
|
| rightTextHeightSum += r.height;
|
| @@ -260,7 +260,7 @@ tr.exportTo('tr.ui.b', function() {
|
| pathsGroupSel.selectAll('.arc').each(function(d, i) {
|
| var origData = that.data_[i];
|
| var dataSeries = that.getDataSeries(origData.label);
|
| - if (origData.label == that.currentHighlightedLegendKey)
|
| + if (origData.label === that.currentHighlightedLegendKey)
|
| this.style.fill = dataSeries.highlightedColor;
|
| else
|
| this.style.fill = dataSeries.color;
|
|
|