mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Introduce GlobalScope::get_url
This commit is contained in:
parent
092504b4e3
commit
f38159b7d3
10 changed files with 39 additions and 39 deletions
|
@ -40,9 +40,7 @@ impl Storage {
|
|||
}
|
||||
|
||||
fn get_url(&self) -> Url {
|
||||
let global_root = self.global();
|
||||
let global_ref = global_root.r();
|
||||
global_ref.get_url()
|
||||
self.global_scope().get_url()
|
||||
}
|
||||
|
||||
fn get_storage_thread(&self) -> IpcSender<StorageThreadMsg> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue