diff options
Diffstat (limited to 'components/script/dom/workerlocation.rs')
-rw-r--r-- | components/script/dom/workerlocation.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/workerlocation.rs b/components/script/dom/workerlocation.rs index f8732a0f7ac..57334953e3d 100644 --- a/components/script/dom/workerlocation.rs +++ b/components/script/dom/workerlocation.rs @@ -38,15 +38,15 @@ impl WorkerLocation { } impl<'a> WorkerLocationMethods for JSRef<'a, WorkerLocation> { - fn Href(&self) -> DOMString { + fn Href(self) -> DOMString { UrlHelper::Href(self.url.deref()) } - fn Search(&self) -> DOMString { + fn Search(self) -> DOMString { UrlHelper::Search(self.url.deref()) } - fn Hash(&self) -> DOMString { + fn Hash(self) -> DOMString { UrlHelper::Hash(self.url.deref()) } } |