aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpuoutofmemoryerror.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2023-05-28 23:25:41 -0400
committerJosh Matthews <josh@joshmatthews.net>2023-05-28 23:54:02 -0400
commit0e8ac3fdac83227d4bbc8d1d74ea021fa627280a (patch)
treeb26c252a84a3e5e67158ef65385979fdb1174784 /components/script/dom/gpuoutofmemoryerror.rs
parentdbff26bce05d404027ef5bbfd85fb5995e4726bc (diff)
downloadservo-0e8ac3fdac83227d4bbc8d1d74ea021fa627280a.tar.gz
servo-0e8ac3fdac83227d4bbc8d1d74ea021fa627280a.zip
Formatting.
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