diff --git a/components/style/animation.rs b/components/style/animation.rs index 2dece839686..b152be5fcc3 100644 --- a/components/style/animation.rs +++ b/components/style/animation.rs @@ -3,6 +3,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use app_units::Au; +use bezier::Bezier; use cssparser::{Color, RGBA}; use dom::{OpaqueNode, TRestyleDamage}; use euclid::point::Point2D; @@ -29,7 +30,6 @@ use std::iter::repeat; use std::sync::mpsc::Sender; use std::sync::{Arc, Mutex}; use time; -use util::bezier::Bezier; use values::CSSFloat; use values::computed::{Angle, LengthOrPercentageOrAuto, LengthOrPercentageOrNone}; use values::computed::{CalcLengthOrPercentage, Length, LengthOrPercentage, Time}; diff --git a/components/util/bezier.rs b/components/style/bezier.rs similarity index 100% rename from components/util/bezier.rs rename to components/style/bezier.rs diff --git a/components/style/lib.rs b/components/style/lib.rs index 2305b0271cb..72675636c4b 100644 --- a/components/style/lib.rs +++ b/components/style/lib.rs @@ -47,6 +47,7 @@ extern crate util; pub mod animation; pub mod attr; +pub mod bezier; pub mod context; mod custom_properties; pub mod data; diff --git a/components/util/lib.rs b/components/util/lib.rs index 42362b74c73..a4b7ab5be15 100644 --- a/components/util/lib.rs +++ b/components/util/lib.rs @@ -49,7 +49,6 @@ extern crate uuid; use std::sync::Arc; -pub mod bezier; pub mod cache; pub mod cursor; pub mod debug_utils;