aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/storage.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/storage.rs')
-rw-r--r--components/script/dom/storage.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/storage.rs b/components/script/dom/storage.rs
index acf2d43d1ca..cbbabb912a7 100644
--- a/components/script/dom/storage.rs
+++ b/components/script/dom/storage.rs
@@ -38,13 +38,13 @@ impl Storage {
fn get_url(&self) -> Url {
let global_root = self.global.root();
- let global_ref = global_root.root_ref();
+ let global_ref = global_root.r();
global_ref.get_url()
}
fn get_storage_task(&self) -> StorageTask {
let global_root = self.global.root();
- let global_ref = global_root.root_ref();
+ let global_ref = global_root.r();
global_ref.as_window().storage_task()
}