Introduce GlobalScope::get_url

This commit is contained in:
Anthony Ramine 2016-10-02 14:29:01 +02:00
parent 092504b4e3
commit f38159b7d3
10 changed files with 39 additions and 39 deletions

View file

@ -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> {