aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/workernavigator.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/workernavigator.rs')
-rw-r--r--components/script/dom/workernavigator.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/components/script/dom/workernavigator.rs b/components/script/dom/workernavigator.rs
index f8864734c17..6bef4bdb048 100644
--- a/components/script/dom/workernavigator.rs
+++ b/components/script/dom/workernavigator.rs
@@ -31,39 +31,39 @@ impl WorkerNavigator {
}
}
-impl<'a> WorkerNavigatorMethods for &'a WorkerNavigator {
+impl WorkerNavigatorMethods for WorkerNavigator {
// https://html.spec.whatwg.org/multipage/#dom-navigator-product
- fn Product(self) -> DOMString {
+ fn Product(&self) -> DOMString {
navigatorinfo::Product()
}
// https://html.spec.whatwg.org/multipage/#dom-navigator-taintenabled
- fn TaintEnabled(self) -> bool {
+ fn TaintEnabled(&self) -> bool {
navigatorinfo::TaintEnabled()
}
// https://html.spec.whatwg.org/multipage/#dom-navigator-appname
- fn AppName(self) -> DOMString {
+ fn AppName(&self) -> DOMString {
navigatorinfo::AppName()
}
// https://html.spec.whatwg.org/multipage/#dom-navigator-appcodename
- fn AppCodeName(self) -> DOMString {
+ fn AppCodeName(&self) -> DOMString {
navigatorinfo::AppCodeName()
}
// https://html.spec.whatwg.org/multipage/#dom-navigator-platform
- fn Platform(self) -> DOMString {
+ fn Platform(&self) -> DOMString {
navigatorinfo::Platform()
}
// https://html.spec.whatwg.org/multipage/#dom-navigator-useragent
- fn UserAgent(self) -> DOMString {
+ fn UserAgent(&self) -> DOMString {
navigatorinfo::UserAgent()
}
// https://html.spec.whatwg.org/multipage/#dom-navigator-appversion
- fn AppVersion(self) -> DOMString {
+ fn AppVersion(&self) -> DOMString {
navigatorinfo::AppVersion()
}
}