Address review comments.

This commit is contained in:
Josh Matthews 2014-04-18 00:12:52 -04:00
parent 7b3e6d1f21
commit 0f2d0b1dc3
99 changed files with 388 additions and 380 deletions

View file

@ -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)
}