mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Generate bindings for Window.
This commit is contained in:
parent
5546f2105b
commit
a2bdab7989
24 changed files with 227 additions and 278 deletions
|
@ -24,8 +24,8 @@ impl CacheableWrapper for DOMParser {
|
|||
}
|
||||
|
||||
impl BindingObject for DOMParser {
|
||||
fn GetParentObject(&self, _cx: *JSContext) -> @mut CacheableWrapper {
|
||||
return self.owner as @mut CacheableWrapper;
|
||||
fn GetParentObject(&self, _cx: *JSContext) -> Option<@mut CacheableWrapper> {
|
||||
Some(self.owner as @mut CacheableWrapper)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue