aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/performanceobserver.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/performanceobserver.rs')
-rw-r--r--components/script/dom/performanceobserver.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/components/script/dom/performanceobserver.rs b/components/script/dom/performanceobserver.rs
index c3349dd3d87..2701f488a68 100644
--- a/components/script/dom/performanceobserver.rs
+++ b/components/script/dom/performanceobserver.rs
@@ -89,7 +89,12 @@ impl PerformanceObserver {
proto: Option<HandleObject>,
callback: Rc<PerformanceObserverCallback>,
) -> Fallible<DomRoot<PerformanceObserver>> {
- Ok(PerformanceObserver::new_with_proto(global, proto, callback, Vec::new()))
+ Ok(PerformanceObserver::new_with_proto(
+ global,
+ proto,
+ callback,
+ Vec::new(),
+ ))
}
/// Buffer a new performance entry.