mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Rename LayoutJS<T> to LayoutDom<T>
This commit is contained in:
parent
c52fd0a780
commit
e2dac78d36
27 changed files with 104 additions and 104 deletions
|
@ -9,7 +9,7 @@ use dom::bindings::codegen::Bindings::HTMLTableSectionElementBinding::HTMLTableS
|
|||
use dom::bindings::codegen::Bindings::NodeBinding::NodeMethods;
|
||||
use dom::bindings::error::{ErrorResult, Fallible};
|
||||
use dom::bindings::inheritance::Castable;
|
||||
use dom::bindings::root::{LayoutJS, MutNullableDom, Root, RootedReference};
|
||||
use dom::bindings::root::{LayoutDom, MutNullableDom, Root, RootedReference};
|
||||
use dom::bindings::str::DOMString;
|
||||
use dom::document::Document;
|
||||
use dom::element::{Element, RawLayoutElementHelpers};
|
||||
|
@ -142,7 +142,7 @@ pub trait HTMLTableRowElementLayoutHelpers {
|
|||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
impl HTMLTableRowElementLayoutHelpers for LayoutJS<HTMLTableRowElement> {
|
||||
impl HTMLTableRowElementLayoutHelpers for LayoutDom<HTMLTableRowElement> {
|
||||
fn get_background_color(&self) -> Option<RGBA> {
|
||||
unsafe {
|
||||
(&*self.upcast::<Element>().unsafe_get())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue