mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Remove intrinsic Root::r()
This commit is contained in:
parent
51bcf516c8
commit
0b3ab875f4
55 changed files with 275 additions and 310 deletions
|
@ -28,7 +28,7 @@ impl DOMStringMap {
|
|||
pub fn new(element: &HTMLElement) -> Root<DOMStringMap> {
|
||||
let window = window_from_node(element);
|
||||
reflect_dom_object(box DOMStringMap::new_inherited(element),
|
||||
window.r(),
|
||||
&*window,
|
||||
DOMStringMapBinding::Wrap)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue