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

Unified Diff: tracing/tracing/ui/base/utils.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/ui/base/utils.html
diff --git a/tracing/tracing/ui/base/utils.html b/tracing/tracing/ui/base/utils.html
index 3ebe8254d10382f120e3b49de68ca443000db9ef..13133c95d9675dc72b5388c344f2a4a9c747b6c0 100644
--- a/tracing/tracing/ui/base/utils.html
+++ b/tracing/tracing/ui/base/utils.html
@@ -6,7 +6,7 @@ found in the LICENSE file.
-->
<link rel="import" href="/tracing/base/base.html">
-<link rel="import" href="/tracing/base/rect.html">
+<link rel="import" href="/tracing/base/math/rect.html">
<script>
'use strict';
@@ -30,7 +30,7 @@ tr.exportTo('tr.ui.b', function() {
position[1] += node.offsetTop;
node = node.offsetParent;
}
- return tr.b.Rect.fromXYWH(position[0], position[1], size[0], size[1]);
+ return tr.b.math.Rect.fromXYWH(position[0], position[1], size[0], size[1]);
}
function scrollIntoViewIfNeeded(el) {
« no previous file with comments | « tracing/tracing/ui/base/timing_tool.html ('k') | tracing/tracing/ui/extras/chrome/cc/layer_tree_quad_stack_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698