mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Create AudioBuffer from BaseAudioContext
This commit is contained in:
parent
cb16c596b3
commit
25a74a75ea
5 changed files with 115 additions and 80 deletions
|
@ -590,9 +590,9 @@ unsafe impl<U> JSTraceable for TypedSize2D<f32, U> {
|
|||
}
|
||||
}
|
||||
|
||||
unsafe impl JSTraceable for Mutex<Option<SharedRt>> {
|
||||
unsafe fn trace(&self, _trc: *mut JSTracer) {
|
||||
// Do nothing.
|
||||
unsafe impl<T: JSTraceable> JSTraceable for Mutex<T> {
|
||||
unsafe fn trace(&self, trc: *mut JSTracer) {
|
||||
self.lock().unwrap().trace(trc);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue