mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update js.
This commit is contained in:
parent
ba2fb4e2e2
commit
558afe1786
8 changed files with 14 additions and 14 deletions
|
@ -274,7 +274,7 @@ impl FileReader {
|
|||
*result.borrow_mut() = Some(FileReaderResult::ArrayBuffer(Heap::default()));
|
||||
|
||||
if let Some(FileReaderResult::ArrayBuffer(ref mut heap)) = *result.borrow_mut() {
|
||||
heap.set(jsval::ObjectValue(&*array_buffer.get()));
|
||||
heap.set(jsval::ObjectValue(array_buffer.get()));
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue