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

Unified Diff: tracing/tracing/ui/base/chart_base_2d.html

Issue 2390373003: Change all == to === and != to !== in trace viewer. (Closed)
Patch Set: 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/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(

Powered by Google App Engine
This is Rietveld 408576698