mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Rename reflect_dom_object2.
This commit is contained in:
parent
b14b4726ac
commit
cc07e27864
113 changed files with 254 additions and 228 deletions
|
@ -26,7 +26,11 @@ where
|
|||
unsafe { T::WRAP(GlobalScope::get_cx(), global_scope, None, obj) }
|
||||
}
|
||||
|
||||
pub fn reflect_dom_object2<T, U>(obj: Box<T>, global: &U, proto: Option<HandleObject>) -> DomRoot<T>
|
||||
pub fn reflect_dom_object_with_proto<T, U>(
|
||||
obj: Box<T>,
|
||||
global: &U,
|
||||
proto: Option<HandleObject>,
|
||||
) -> DomRoot<T>
|
||||
where
|
||||
T: DomObject + DomObjectWrap,
|
||||
U: DerivedFrom<GlobalScope>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue