aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/workerlocation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/workerlocation.rs')
-rw-r--r--components/script/dom/workerlocation.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/components/script/dom/workerlocation.rs b/components/script/dom/workerlocation.rs
index 0a20874c577..1227982d1c0 100644
--- a/components/script/dom/workerlocation.rs
+++ b/components/script/dom/workerlocation.rs
@@ -28,9 +28,11 @@ impl WorkerLocation {
}
pub fn new(global: &WorkerGlobalScope, url: ServoUrl) -> DomRoot<WorkerLocation> {
- reflect_dom_object(Box::new(WorkerLocation::new_inherited(url)),
- global,
- WorkerLocationBinding::Wrap)
+ reflect_dom_object(
+ Box::new(WorkerLocation::new_inherited(url)),
+ global,
+ WorkerLocationBinding::Wrap,
+ )
}
}