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

Unified Diff: tracing/tracing/ui/base/draw_helpers.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/base/column_chart_test.html ('k') | tracing/tracing/ui/base/line_chart_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/draw_helpers.html
diff --git a/tracing/tracing/ui/base/draw_helpers.html b/tracing/tracing/ui/base/draw_helpers.html
index 9843db0ce23aeb977e9b1629d8de3446e5291613..4b24bf6d301a5528681a79b75ac996a7361aa265 100644
--- a/tracing/tracing/ui/base/draw_helpers.html
+++ b/tracing/tracing/ui/base/draw_helpers.html
@@ -5,7 +5,7 @@ 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/sorted_array_utils.html">
+<link rel="import" href="/tracing/base/math/sorted_array_utils.html">
<link rel="import" href="/tracing/ui/base/elided_cache.html">
<link rel="import" href="/tracing/ui/base/event_presenter.html">
@@ -163,7 +163,7 @@ tr.exportTo('tr.ui.b', function() {
ctx, 2 * pixWidth, 2 * pixWidth, colorsAsStrings);
rect.setYandH(0, height);
- var lowSlice = tr.b.findLowIndexInSortedArray(
+ var lowSlice = tr.b.math.findLowIndexInSortedArray(
slices,
function(slice) { return slice.start + slice.duration; },
viewLWorld);
@@ -307,7 +307,7 @@ tr.exportTo('tr.ui.b', function() {
dt.applyTransformToCanvas(ctx);
ctx.beginPath();
- var lowSlice = tr.b.findLowIndexInSortedArray(
+ var lowSlice = tr.b.math.findLowIndexInSortedArray(
slices,
function(slice) { return slice.start; },
viewLWorld);
@@ -362,7 +362,7 @@ tr.exportTo('tr.ui.b', function() {
var cY = yOffset * pixelRatio;
- var lowSlice = tr.b.findLowIndexInSortedArray(
+ var lowSlice = tr.b.math.findLowIndexInSortedArray(
slices,
function(slice) { return slice.start + slice.duration; },
viewLWorld);
« no previous file with comments | « tracing/tracing/ui/base/column_chart_test.html ('k') | tracing/tracing/ui/base/line_chart_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698