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

Unified Diff: tracing/tracing/base/math/rect_test.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/base/math/rect.html ('k') | tracing/tracing/base/math/running_statistics.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/base/math/rect_test.html
diff --git a/tracing/tracing/base/rect_test.html b/tracing/tracing/base/math/rect_test.html
similarity index 76%
rename from tracing/tracing/base/rect_test.html
rename to tracing/tracing/base/math/rect_test.html
index 9f4765e2a3e478860f90c2891adc6746934d4914..38604d400040f8d0f6c42d8fbc5eeafd45211c26 100644
--- a/tracing/tracing/base/rect_test.html
+++ b/tracing/tracing/base/math/rect_test.html
@@ -4,7 +4,7 @@ Copyright (c) 2014 The Chromium Authors. All rights reserved.
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/rect.html">
+<link rel="import" href="/tracing/base/math/rect.html">
<script>
'use strict';
@@ -20,10 +20,10 @@ tr.b.unittest.testSuite(function() {
'", got "' + b.toString() + '"';
assert.fail(a, b, message);
}
- var container = tr.b.Rect.fromXYWH(0, 0, 10, 10);
- var inner = tr.b.Rect.fromXYWH(1, 1, 8, 8);
+ var container = tr.b.math.Rect.fromXYWH(0, 0, 10, 10);
+ var inner = tr.b.math.Rect.fromXYWH(1, 1, 8, 8);
var uv = inner.asUVRectInside(container);
- assertRectEquals(uv, tr.b.Rect.fromXYWH(0.1, 0.1, .8, .8));
+ assertRectEquals(uv, tr.b.math.Rect.fromXYWH(0.1, 0.1, .8, .8));
assert.equal(10, container.size().width);
assert.equal(10, container.size().height);
});
« no previous file with comments | « tracing/tracing/base/math/rect.html ('k') | tracing/tracing/base/math/running_statistics.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698