Skip to content
Permalink
Browse files
removed mut on imageBitmap
  • Loading branch information
ramyananth committed Apr 24, 2020
1 parent c140a34 commit 9c3cbbe4c183db34dc8c1364a0b22a8beba6ad64
Showing 2 changed files with 2 additions and 2 deletions.
@@ -904,7 +904,7 @@ impl WindowMethods for Window {
p.reject_error(Error::InvalidState)
}

let mut imageBitmap = ImageBitmap::new(&global,0,0,Cell::new(true)).unwrap();
let imageBitmap = ImageBitmap::new(&global,0,0,Cell::new(true)).unwrap();
// global: &global,
// width: 0,
// height: 0,
@@ -392,7 +392,7 @@ impl WorkerGlobalScopeMethods for WorkerGlobalScope {
p.reject_error(Error::InvalidState)
}

let mut imageBitmap = ImageBitmap::new(&global,0,0,Cell::new(true)).unwrap();
let imageBitmap = ImageBitmap::new(&global,0,0,Cell::new(true)).unwrap();
// global: &global,
// width: 0,
// height: 0,

0 comments on commit 9c3cbbe

Please sign in to comment.