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

Unified Diff: tracing/tracing/importer/find_input_expectations.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
Index: tracing/tracing/importer/find_input_expectations.html
diff --git a/tracing/tracing/importer/find_input_expectations.html b/tracing/tracing/importer/find_input_expectations.html
index d7551793816be8792e05839ccba01ef4dd541d72..992d054a67c842d28a0d8670e5c566f4ce4c2bda 100644
--- a/tracing/tracing/importer/find_input_expectations.html
+++ b/tracing/tracing/importer/find_input_expectations.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/range_utils.html">
+<link rel="import" href="/tracing/base/math/range_utils.html">
<link rel="import" href="/tracing/extras/chrome/cc/input_latency_async_slice.html">
<link rel="import" href="/tracing/importer/proto_expectation.html">
<link rel="import" href="/tracing/model/user_model/user_expectation.html">
@@ -796,7 +796,7 @@ tr.exportTo('tr.importer', function() {
// This helper function will be called when a time range is found
// during which the animation is actually running.
function pushAnimationRange(start, end, animation) {
- var range = tr.b.Range.fromExplicitRange(start, end);
+ var range = tr.b.math.Range.fromExplicitRange(start, end);
range.animation = animation;
animationRanges.push(range);
}
@@ -1181,7 +1181,7 @@ tr.exportTo('tr.importer', function() {
var frameEvents = [];
// TODO(benjhayden): Use frame blame contexts here.
for (var pid of Object.keys(modelHelper.rendererHelpers)) {
- var range = tr.b.Range.fromExplicitRange(pe.start, pe.end);
+ var range = tr.b.math.Range.fromExplicitRange(pe.start, pe.end);
frameEvents.push.apply(frameEvents,
range.filterArray(frameEventsByPid[pid], e => e.start));
}
« no previous file with comments | « tracing/tracing/extras/importer/trace_event_importer.html ('k') | tracing/tracing/importer/proto_expectation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698