aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/url.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/url.rs')
-rw-r--r--components/script/dom/url.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/url.rs b/components/script/dom/url.rs
index d4ed5b1bbed..b7a235dc741 100644
--- a/components/script/dom/url.rs
+++ b/components/script/dom/url.rs
@@ -188,7 +188,7 @@ impl URLMethods for URL {
// https://url.spec.whatwg.org/#dom-url-href
fn Stringifier(&self) -> DOMString {
- self.Href().0
+ DOMString(self.Href().0)
}
// https://url.spec.whatwg.org/#dom-url-username