mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Make Reflector #[must_root], propagate to non-HTMLElements
This commit is contained in:
parent
f0b8391762
commit
30014c3919
40 changed files with 53 additions and 12 deletions
|
@ -15,6 +15,7 @@ use servo_util::str::DOMString;
|
|||
use std::rc::Rc;
|
||||
|
||||
#[deriving(Encodable)]
|
||||
#[must_root]
|
||||
pub struct Location {
|
||||
reflector_: Reflector, //XXXjdm cycle: window->Location->window
|
||||
page: Rc<Page>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue