mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30)
This commit is contained in:
parent
87e7e3d429
commit
c38c964f1b
38 changed files with 118 additions and 109 deletions
|
@ -525,7 +525,7 @@ impl WindowProxy {
|
|||
}
|
||||
|
||||
pub fn frame_element(&self) -> Option<&Element> {
|
||||
self.frame_element.deref()
|
||||
self.frame_element.as_deref()
|
||||
}
|
||||
|
||||
pub fn document(&self) -> Option<DomRoot<Document>> {
|
||||
|
@ -535,7 +535,7 @@ impl WindowProxy {
|
|||
}
|
||||
|
||||
pub fn parent(&self) -> Option<&WindowProxy> {
|
||||
self.parent.deref()
|
||||
self.parent.as_deref()
|
||||
}
|
||||
|
||||
pub fn top(&self) -> &WindowProxy {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue