aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/serviceworker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/serviceworker.rs')
-rw-r--r--components/script/dom/serviceworker.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/serviceworker.rs b/components/script/dom/serviceworker.rs
index d61f1120906..63971d7e42e 100644
--- a/components/script/dom/serviceworker.rs
+++ b/components/script/dom/serviceworker.rs
@@ -46,9 +46,9 @@ impl ServiceWorker {
}
pub fn install_serviceworker(global: &GlobalScope,
- script_url: ServoUrl,
- scope_url: ServoUrl,
- skip_waiting: bool) -> Root<ServiceWorker> {
+ script_url: ServoUrl,
+ scope_url: ServoUrl,
+ skip_waiting: bool) -> Root<ServiceWorker> {
reflect_dom_object(box ServiceWorker::new_inherited(script_url.as_str(),
skip_waiting,
scope_url), global, Wrap)