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

Unified Diff: tracing/tracing/base/math/quad.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/base/math/quad.html
diff --git a/tracing/tracing/base/quad.html b/tracing/tracing/base/math/quad.html
similarity index 97%
rename from tracing/tracing/base/quad.html
rename to tracing/tracing/base/math/quad.html
index 2ba997efc6913c23b3a2ae52c12887aca6d4b7ff..5ead839bf7bc2c3f091f952fa69b2258d7ffc663 100644
--- a/tracing/tracing/base/quad.html
+++ b/tracing/tracing/base/math/quad.html
@@ -5,11 +5,11 @@ 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/base.html">
-<link rel="import" href="/tracing/base/math.html">
+<link rel="import" href="/tracing/base/math/math.html">
<script>
'use strict';
-tr.exportTo('tr.b', function() {
+tr.exportTo('tr.b.math', function() {
var tmpVec2s = [];
for (var i = 0; i < 8; i++)
tmpVec2s[i] = vec2.create();
@@ -97,7 +97,7 @@ tr.exportTo('tr.b', function() {
var x1 = Math.max(this.p1[0], this.p2[0], this.p3[0], this.p4[0]);
var y1 = Math.max(this.p1[1], this.p2[1], this.p3[1], this.p4[1]);
- return new tr.b.Rect.fromXYWH(x0, y0, x1 - x0, y1 - y0);
+ return new tr.b.math.Rect.fromXYWH(x0, y0, x1 - x0, y1 - y0);
},
clone: function() {
« no previous file with comments | « tracing/tracing/base/math/piecewise_linear_function_test.html ('k') | tracing/tracing/base/math/quad_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698