aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/imagedata.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/imagedata.rs
parentdbff26bce05d404027ef5bbfd85fb5995e4726bc (diff)
downloadservo-0e8ac3fdac83227d4bbc8d1d74ea021fa627280a.tar.gz
servo-0e8ac3fdac83227d4bbc8d1d74ea021fa627280a.zip
Formatting.
Diffstat (limited to 'components/script/dom/imagedata.rs')
-rw-r--r--components/script/dom/imagedata.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/components/script/dom/imagedata.rs b/components/script/dom/imagedata.rs
index 42638f40351..27129559475 100644
--- a/components/script/dom/imagedata.rs
+++ b/components/script/dom/imagedata.rs
@@ -123,7 +123,12 @@ impl ImageData {
}
// https://html.spec.whatwg.org/multipage/#pixel-manipulation:dom-imagedata-3
#[allow(unsafe_code, non_snake_case)]
- pub fn Constructor(global: &GlobalScope, proto: Option<HandleObject>, width: u32, height: u32) -> Fallible<DomRoot<Self>> {
+ pub fn Constructor(
+ global: &GlobalScope,
+ proto: Option<HandleObject>,
+ width: u32,
+ height: u32,
+ ) -> Fallible<DomRoot<Self>> {
unsafe { Self::new_without_jsobject(global, proto, width, height) }
}