diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-09-26 01:30:06 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-09-26 09:49:04 +0200 |
commit | e2dac78d3600cb4b2b4474f1db4f0fcaadbe24ea (patch) | |
tree | 3a0ae2014f80a0e7af0d76e7f7e3d043769293a8 /components/script/dom/htmlhrelement.rs | |
parent | c52fd0a78041ec22db1c4b391556368cd8b87b02 (diff) | |
download | servo-e2dac78d3600cb4b2b4474f1db4f0fcaadbe24ea.tar.gz servo-e2dac78d3600cb4b2b4474f1db4f0fcaadbe24ea.zip |
Rename LayoutJS<T> to LayoutDom<T>
Diffstat (limited to 'components/script/dom/htmlhrelement.rs')
-rw-r--r-- | components/script/dom/htmlhrelement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlhrelement.rs b/components/script/dom/htmlhrelement.rs index 38a2f354a6f..e66494e6843 100644 --- a/components/script/dom/htmlhrelement.rs +++ b/components/script/dom/htmlhrelement.rs @@ -5,7 +5,7 @@ use cssparser::RGBA; use dom::bindings::codegen::Bindings::HTMLHRElementBinding::{self, HTMLHRElementMethods}; use dom::bindings::inheritance::Castable; -use dom::bindings::root::{LayoutJS, Root}; +use dom::bindings::root::{LayoutDom, Root}; use dom::bindings::str::DOMString; use dom::document::Document; use dom::element::{Element, RawLayoutElementHelpers}; @@ -63,7 +63,7 @@ pub trait HTMLHRLayoutHelpers { fn get_width(&self) -> LengthOrPercentageOrAuto; } -impl HTMLHRLayoutHelpers for LayoutJS<HTMLHRElement> { +impl HTMLHRLayoutHelpers for LayoutDom<HTMLHRElement> { #[allow(unsafe_code)] fn get_color(&self) -> Option<RGBA> { unsafe { |