mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -7,7 +7,7 @@ use dom::bindings::cell::DOMRefCell;
|
|||
use dom::bindings::codegen::Bindings::AttrBinding::{self, AttrMethods};
|
||||
use dom::bindings::inheritance::Castable;
|
||||
use dom::bindings::reflector::{Reflector, reflect_dom_object};
|
||||
use dom::bindings::root::{LayoutJS, MutNullableDom, Root, RootedReference};
|
||||
use dom::bindings::root::{LayoutDom, MutNullableDom, Root, RootedReference};
|
||||
use dom::bindings::str::DOMString;
|
||||
use dom::customelementregistry::CallbackReaction;
|
||||
use dom::element::{AttributeMutation, Element};
|
||||
|
@ -256,7 +256,7 @@ pub trait AttrHelpersForLayout {
|
|||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
impl AttrHelpersForLayout for LayoutJS<Attr> {
|
||||
impl AttrHelpersForLayout for LayoutDom<Attr> {
|
||||
#[inline]
|
||||
unsafe fn value_forever(&self) -> &'static AttrValue {
|
||||
// This transmute is used to cheat the lifetime restriction.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue