aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpuoutofmemoryerror.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/gpuoutofmemoryerror.rs')
-rw-r--r--components/script/dom/gpuoutofmemoryerror.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/components/script/dom/gpuoutofmemoryerror.rs b/components/script/dom/gpuoutofmemoryerror.rs
index 0689e8df3bb..5b6e7053397 100644
--- a/components/script/dom/gpuoutofmemoryerror.rs
+++ b/components/script/dom/gpuoutofmemoryerror.rs
@@ -25,7 +25,11 @@ impl GPUOutOfMemoryError {
}
fn new_with_proto(global: &GlobalScope, proto: Option<HandleObject>) -> DomRoot<Self> {
- reflect_dom_object2(Box::new(GPUOutOfMemoryError::new_inherited()), global, proto)
+ reflect_dom_object2(
+ Box::new(GPUOutOfMemoryError::new_inherited()),
+ global,
+ proto,
+ )
}
/// https://gpuweb.github.io/gpuweb/#dom-gpuoutofmemoryerror-gpuoutofmemoryerror