aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/imagedata.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/imagedata.rs')
-rw-r--r--components/script/dom/imagedata.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/imagedata.rs b/components/script/dom/imagedata.rs
index 95fb34b5979..69f849033c9 100644
--- a/components/script/dom/imagedata.rs
+++ b/components/script/dom/imagedata.rs
@@ -96,8 +96,8 @@ impl ImageData {
let imagedata = Box::new(ImageData {
reflector_: Reflector::new(),
- width: width,
- height: height,
+ width,
+ height,
data: heap_typed_array,
});
@@ -126,8 +126,8 @@ impl ImageData {
};
let imagedata = Box::new(ImageData {
reflector_: Reflector::new(),
- width: width,
- height: height,
+ width,
+ height,
data: heap_typed_array,
});