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/htmlbodyelement.rs | |
parent | c52fd0a78041ec22db1c4b391556368cd8b87b02 (diff) | |
download | servo-e2dac78d3600cb4b2b4474f1db4f0fcaadbe24ea.tar.gz servo-e2dac78d3600cb4b2b4474f1db4f0fcaadbe24ea.zip |
Rename LayoutJS<T> to LayoutDom<T>
Diffstat (limited to 'components/script/dom/htmlbodyelement.rs')
-rw-r--r-- | components/script/dom/htmlbodyelement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlbodyelement.rs b/components/script/dom/htmlbodyelement.rs index 3eca3fba978..3ec993ca3df 100644 --- a/components/script/dom/htmlbodyelement.rs +++ b/components/script/dom/htmlbodyelement.rs @@ -7,7 +7,7 @@ use dom::attr::Attr; use dom::bindings::codegen::Bindings::HTMLBodyElementBinding::{self, HTMLBodyElementMethods}; use dom::bindings::codegen::Bindings::WindowBinding::WindowMethods; 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::{AttributeMutation, Element, RawLayoutElementHelpers}; @@ -88,7 +88,7 @@ pub trait HTMLBodyElementLayoutHelpers { fn get_background(&self) -> Option<ServoUrl>; } -impl HTMLBodyElementLayoutHelpers for LayoutJS<HTMLBodyElement> { +impl HTMLBodyElementLayoutHelpers for LayoutDom<HTMLBodyElement> { #[allow(unsafe_code)] fn get_background_color(&self) -> Option<RGBA> { unsafe { |