diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-09-30 15:19:33 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-09-30 15:19:33 -0600 |
commit | 35888e5a1d48511ec54ddf8c58f1c7b0c47c5d3c (patch) | |
tree | 06790c2e03a77bdbb988361dcf8e0b34b97dec4b /components/script/dom/domrect.rs | |
parent | fb6d0946cb3bac713bc20794f17a40fa7a12bc00 (diff) | |
parent | 339a3f869b539ae6da49f5d34568789d0abf3e00 (diff) | |
download | servo-35888e5a1d48511ec54ddf8c58f1c7b0c47c5d3c.tar.gz servo-35888e5a1d48511ec54ddf8c58f1c7b0c47c5d3c.zip |
Auto merge of #7795 - glennw:app-units-crate, r=SimonSapin
Split Au type into separate crate, with minimal dependencies.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7795)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/domrect.rs')
-rw-r--r-- | components/script/dom/domrect.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/domrect.rs b/components/script/dom/domrect.rs index b2b701e8fc1..6706642b5c5 100644 --- a/components/script/dom/domrect.rs +++ b/components/script/dom/domrect.rs @@ -2,6 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +use app_units::Au; use dom::bindings::codegen::Bindings::DOMRectBinding; use dom::bindings::codegen::Bindings::DOMRectBinding::DOMRectMethods; use dom::bindings::global::GlobalRef; @@ -9,7 +10,6 @@ use dom::bindings::js::Root; use dom::bindings::num::Finite; use dom::bindings::utils::{Reflector, reflect_dom_object}; use dom::window::Window; -use util::geometry::Au; #[dom_struct] pub struct DOMRect { |