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
|
@ -42,8 +42,13 @@ impl Blob {
|
|||
Self::new_with_proto(global, None, blob_impl)
|
||||
}
|
||||
|
||||
fn new_with_proto(global: &GlobalScope, proto: Option<HandleObject>, blob_impl: BlobImpl) -> DomRoot<Blob> {
|
||||
let dom_blob = reflect_dom_object2(Box::new(Blob::new_inherited(&blob_impl)), global, proto);
|
||||
fn new_with_proto(
|
||||
global: &GlobalScope,
|
||||
proto: Option<HandleObject>,
|
||||
blob_impl: BlobImpl,
|
||||
) -> DomRoot<Blob> {
|
||||
let dom_blob =
|
||||
reflect_dom_object2(Box::new(Blob::new_inherited(&blob_impl)), global, proto);
|
||||
global.track_blob(&dom_blob, blob_impl);
|
||||
dom_blob
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue