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

Unified Diff: tracing/tracing/value/histogram.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/tracks/stacked_bars_track.html ('k') | tracing/tracing/value/numeric.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/value/histogram.html
diff --git a/tracing/tracing/value/histogram.html b/tracing/tracing/value/histogram.html
index 3c5a8e6d2dbe117b31603a3f776edd5ca36398eb..439658f6f2ad49ab0cc7238ff35c69882631d708 100644
--- a/tracing/tracing/value/histogram.html
+++ b/tracing/tracing/value/histogram.html
@@ -330,7 +330,7 @@ tr.exportTo('tr.v', function() {
getApproximatePercentile(percent) {
if (!(percent >= 0 && percent <= 1))
throw new Error('percent must be [0,1]');
- if (this.numValues == 0)
+ if (this.numValues === 0)
return 0;
var valuesToSkip = Math.floor((this.numValues - 1) * percent);
for (var i = 0; i < this.allBins.length; i++) {
« no previous file with comments | « tracing/tracing/ui/tracks/stacked_bars_track.html ('k') | tracing/tracing/value/numeric.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698