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

Unified Diff: tracing/tracing/ui/base/chart_base_2d.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
« no previous file with comments | « tracing/tracing/ui/base/chart_base.html ('k') | tracing/tracing/ui/base/column_chart.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/chart_base_2d.html
diff --git a/tracing/tracing/ui/base/chart_base_2d.html b/tracing/tracing/ui/base/chart_base_2d.html
index 6f9021c554395a21acec78fe40ef658969293f02..566c4dcd26ff55558c179e22daa6440cfc867c00 100644
--- a/tracing/tracing/ui/base/chart_base_2d.html
+++ b/tracing/tracing/ui/base/chart_base_2d.html
@@ -251,7 +251,7 @@ tr.exportTo('tr.ui.b', function() {
this.yLogScaleMin_ = undefined;
if (this.dataRange_.min !== undefined) {
var minValue = this.dataRange_.min;
- if (minValue == 0)
+ if (minValue === 0)
minValue = 1;
var onePowerLess = Math.floor(
@@ -285,7 +285,7 @@ tr.exportTo('tr.ui.b', function() {
if (this.yLogScaleMin_ === undefined)
return;
var minValue = this.dataRange_.min;
- if (minValue == 0)
+ if (minValue === 0)
minValue = 1;
var largestPower = Math.ceil(
« no previous file with comments | « tracing/tracing/ui/base/chart_base.html ('k') | tracing/tracing/ui/base/column_chart.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698