mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add newlines in global.rs.
This commit is contained in:
parent
350a6080d7
commit
df9d063b36
1 changed files with 2 additions and 0 deletions
|
@ -43,9 +43,11 @@ impl<'a> GlobalRef<'a> {
|
|||
pub fn page<'b>(&'b self) -> &'b Page {
|
||||
self.as_window().page()
|
||||
}
|
||||
|
||||
pub fn get_url(&self) -> Url {
|
||||
self.as_window().get_url()
|
||||
}
|
||||
|
||||
pub fn script_chan<'b>(&'b self) -> &'b ScriptChan {
|
||||
&self.as_window().script_chan
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue