mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Formatting.
This commit is contained in:
parent
dbff26bce0
commit
0e8ac3fdac
81 changed files with 588 additions and 206 deletions
|
@ -51,11 +51,18 @@ impl MediaStream {
|
|||
this
|
||||
}
|
||||
|
||||
pub fn Constructor(global: &Window, proto: Option<HandleObject>) -> Fallible<DomRoot<MediaStream>> {
|
||||
pub fn Constructor(
|
||||
global: &Window,
|
||||
proto: Option<HandleObject>,
|
||||
) -> Fallible<DomRoot<MediaStream>> {
|
||||
Ok(MediaStream::new_with_proto(&global.global(), proto))
|
||||
}
|
||||
|
||||
pub fn Constructor_(_: &Window, proto: Option<HandleObject>, stream: &MediaStream) -> Fallible<DomRoot<MediaStream>> {
|
||||
pub fn Constructor_(
|
||||
_: &Window,
|
||||
proto: Option<HandleObject>,
|
||||
stream: &MediaStream,
|
||||
) -> Fallible<DomRoot<MediaStream>> {
|
||||
Ok(stream.clone_with_proto(proto))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue