mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Use IDL sequence default value
This commit is contained in:
parent
4ad08fff04
commit
01e0b2cb5e
13 changed files with 40 additions and 65 deletions
|
@ -294,8 +294,6 @@ impl MessagePortMethods for MessagePort {
|
|||
let mut rooted = CustomAutoRooter::new(
|
||||
options
|
||||
.transfer
|
||||
.as_ref()
|
||||
.unwrap_or(&Vec::with_capacity(0))
|
||||
.iter()
|
||||
.map(|js: &RootedTraceableBox<Heap<*mut JSObject>>| js.get())
|
||||
.collect(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue