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

Unified Diff: tracing/tracing/base/range.html

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 years, 5 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/base/math.html ('k') | tracing/tracing/base/statistics.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/base/range.html
diff --git a/tracing/tracing/base/range.html b/tracing/tracing/base/range.html
index d24dc3327e43c63a49cc272be61021252580dac3..2f3a56273d9ca9948e4de44ae6c4189e095c3c54 100644
--- a/tracing/tracing/base/range.html
+++ b/tracing/tracing/base/range.html
@@ -7,6 +7,7 @@ found in the LICENSE file.
<link rel="import" href="/tracing/base/base.html">
<link rel="import" href="/tracing/base/iteration_helpers.html">
+<link rel="import" href="/tracing/base/math.html">
<script>
'use strict';
@@ -104,8 +105,8 @@ tr.exportTo('tr.b', function() {
return true;
if (this.isEmpty != that.isEmpty)
return false;
- return this.min === that.min &&
- this.max === that.max;
+ return (tr.b.approximately(this.min, that.min) &&
+ tr.b.approximately(this.max, that.max));
},
containsExplicitRangeInclusive: function(min, max) {
« no previous file with comments | « tracing/tracing/base/math.html ('k') | tracing/tracing/base/statistics.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698