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

Unified Diff: tracing/tracing/base/math/bbox2.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.html ('k') | tracing/tracing/base/math/bbox2_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/base/math/bbox2.html
diff --git a/tracing/tracing/base/bbox2.html b/tracing/tracing/base/math/bbox2.html
similarity index 94%
rename from tracing/tracing/base/bbox2.html
rename to tracing/tracing/base/math/bbox2.html
index 25e07d4319f53ad2737accb034247a8a31aeb14f..b7520cb54bb53391e4940c396f8b590af7e1289d 100644
--- a/tracing/tracing/base/bbox2.html
+++ b/tracing/tracing/base/math/bbox2.html
@@ -5,8 +5,8 @@ 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/rect.html">
+<link rel="import" href="/tracing/base/math/math.html">
+<link rel="import" href="/tracing/base/math/rect.html">
<script>
'use strict';
@@ -14,7 +14,7 @@ found in the LICENSE file.
/**
* @fileoverview 2D bounding box computations.
*/
-tr.exportTo('tr.b', function() {
+tr.exportTo('tr.b.math', function() {
/**
* Tracks a 2D bounding box.
* @constructor
@@ -141,7 +141,7 @@ tr.exportTo('tr.b', function() {
},
asRect: function() {
- return tr.b.Rect.fromXYWH(
+ return tr.b.math.Rect.fromXYWH(
this.min_[0],
this.min_[1],
this.max_[0] - this.min_[0],
« no previous file with comments | « tracing/tracing/base/math.html ('k') | tracing/tracing/base/math/bbox2_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698