mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
Address review comments.
This commit is contained in:
parent
7b3e6d1f21
commit
0f2d0b1dc3
99 changed files with 388 additions and 380 deletions
|
@ -16,15 +16,15 @@ pub struct Blob {
|
|||
}
|
||||
|
||||
impl Blob {
|
||||
pub fn new_inherited(window: JS<Window>) -> Blob {
|
||||
pub fn new_inherited(window: &JSRef<Window>) -> Blob {
|
||||
Blob {
|
||||
reflector_: Reflector::new(),
|
||||
window: window
|
||||
window: window.unrooted()
|
||||
}
|
||||
}
|
||||
|
||||
pub fn new(window: &JSRef<Window>) -> Temporary<Blob> {
|
||||
reflect_dom_object(~Blob::new_inherited(window.unrooted()),
|
||||
reflect_dom_object(~Blob::new_inherited(window),
|
||||
window,
|
||||
BlobBinding::Wrap)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue