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

Unified Diff: tracing/tracing/model/object_instance.html

Issue 2771723003: [tracing] Move math utilities from base into their own subdirectory (attempt 2) (Closed)
Patch Set: rebase Created 3 years, 9 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/model/object_collection.html ('k') | tracing/tracing/model/power_sample_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/object_instance.html
diff --git a/tracing/tracing/model/object_instance.html b/tracing/tracing/model/object_instance.html
index 72935e073fe48714d8b182245643eb829b5d7869..b4f11217c0230fc2cd18f723a097b26954431610 100644
--- a/tracing/tracing/model/object_instance.html
+++ b/tracing/tracing/model/object_instance.html
@@ -5,8 +5,8 @@ Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
-<link rel="import" href="/tracing/base/range.html">
-<link rel="import" href="/tracing/base/sorted_array_utils.html">
+<link rel="import" href="/tracing/base/math/range.html">
+<link rel="import" href="/tracing/base/math/sorted_array_utils.html">
<link rel="import" href="/tracing/model/event.html">
<link rel="import" href="/tracing/model/object_snapshot.html">
@@ -38,7 +38,7 @@ tr.exportTo('tr.model', function() {
this.deletionTs = Number.MAX_VALUE;
this.deletionTsWasExplicit = false;
this.colorId = 0;
- this.bounds = new tr.b.Range();
+ this.bounds = new tr.b.math.Range();
this.snapshots = [];
this.hasImplicitSnapshots = false;
}
@@ -138,7 +138,7 @@ tr.exportTo('tr.model', function() {
throw new Error('ts must be within lifetime of this instance');
var snapshots = this.snapshots;
- var i = tr.b.findIndexInSortedIntervals(
+ var i = tr.b.math.findIndexInSortedIntervals(
snapshots,
function(snapshot) { return snapshot.ts; },
function(snapshot, i) {
« no previous file with comments | « tracing/tracing/model/object_collection.html ('k') | tracing/tracing/model/power_sample_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698