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
|
@ -12,7 +12,7 @@ use dom::bindings::codegen::InheritTypes::{CharacterDataTypeId, NodeTypeId};
|
|||
use dom::bindings::codegen::UnionTypes::NodeOrString;
|
||||
use dom::bindings::error::{Error, ErrorResult, Fallible};
|
||||
use dom::bindings::inheritance::Castable;
|
||||
use dom::bindings::root::{LayoutJS, Root};
|
||||
use dom::bindings::root::{LayoutDom, Root};
|
||||
use dom::bindings::str::DOMString;
|
||||
use dom::comment::Comment;
|
||||
use dom::document::Document;
|
||||
|
@ -253,7 +253,7 @@ pub trait LayoutCharacterDataHelpers {
|
|||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
impl LayoutCharacterDataHelpers for LayoutJS<CharacterData> {
|
||||
impl LayoutCharacterDataHelpers for LayoutDom<CharacterData> {
|
||||
#[inline]
|
||||
unsafe fn data_for_layout(&self) -> &str {
|
||||
&(*self.unsafe_get()).data.borrow_for_layout()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue