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

Unified Diff: tracing/tracing/ui/tracks/rect_track.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/ui/tracks/process_track.html ('k') | tracing/tracing/ui/tracks/slice_group_track.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/tracks/rect_track.html
diff --git a/tracing/tracing/ui/tracks/rect_track.html b/tracing/tracing/ui/tracks/rect_track.html
index 6a2a3c04797fa6267b6b901f8818c7f9fc0f4406..f4120a1689b5c4d870e69762a685b8384d915288 100644
--- a/tracing/tracing/ui/tracks/rect_track.html
+++ b/tracing/tracing/ui/tracks/rect_track.html
@@ -7,7 +7,7 @@ found in the LICENSE file.
<link rel="stylesheet" href="/tracing/ui/tracks/rect_track.css">
-<link rel="import" href="/tracing/base/sorted_array_utils.html">
+<link rel="import" href="/tracing/base/math/sorted_array_utils.html">
<link rel="import" href="/tracing/model/proxy_selectable_item.html">
<link rel="import" href="/tracing/ui/base/draw_helpers.html">
<link rel="import" href="/tracing/ui/base/fast_rect_renderer.html">
@@ -161,7 +161,7 @@ tr.exportTo('tr.ui.tracks', function() {
}
onRect = onRect.bind(this);
var instantEventWidth = 2 * viewPixWidthWorld;
- tr.b.iterateOverIntersectingIntervals(this.rects_,
+ tr.b.math.iterateOverIntersectingIntervals(this.rects_,
function(x) { return x.start; },
function(x) {
return x.duration === 0 ?
@@ -212,7 +212,7 @@ tr.exportTo('tr.ui.tracks', function() {
addClosestEventToSelection: function(worldX, worldMaxDist, loY, hiY,
selection) {
- var rect = tr.b.findClosestIntervalInSortedIntervals(
+ var rect = tr.b.math.findClosestIntervalInSortedIntervals(
this.rects_,
function(x) { return x.start; },
function(x) { return x.end; },
« no previous file with comments | « tracing/tracing/ui/tracks/process_track.html ('k') | tracing/tracing/ui/tracks/slice_group_track.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698