diff options
Diffstat (limited to 'components/script/dom/workerlocation.rs')
-rw-r--r-- | components/script/dom/workerlocation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/workerlocation.rs b/components/script/dom/workerlocation.rs index 9e26ca4a70e..e79b7ff0fc9 100644 --- a/components/script/dom/workerlocation.rs +++ b/components/script/dom/workerlocation.rs @@ -78,6 +78,6 @@ impl WorkerLocationMethods for WorkerLocation { // https://html.spec.whatwg.org/multipage/#dom-workerlocation-href fn Stringifier(&self) -> DOMString { - DOMString(self.Href().0) + DOMString::from(self.Href().0) } } |