mirror of
https://github.com/servo/servo.git
synced 2025-06-20 23:28:59 +01:00
Eagerly reflect the navigator object. Fixes #1042.
This commit is contained in:
parent
5c725b31af
commit
fda77aa36b
2 changed files with 18 additions and 6 deletions
|
@ -119,7 +119,7 @@ impl Window {
|
|||
|
||||
pub fn Navigator(&mut self) -> @mut Navigator {
|
||||
if self.navigator.is_none() {
|
||||
self.navigator = Some(Navigator::new());
|
||||
self.navigator = Some(Navigator::new(self));
|
||||
}
|
||||
self.navigator.unwrap()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue