Stop passing the scope argument to global object bindings' Wrap functions.

This commit is contained in:
Ms2ger 2014-03-04 13:24:16 +01:00
parent 12380edc63
commit b6138580d3
2 changed files with 7 additions and 6 deletions

View file

@ -29,7 +29,6 @@ use std::comm::Select;
use std::hashmap::HashSet;
use std::io::timer::Timer;
use std::num;
use std::ptr;
use std::rc::Rc;
use std::to_bytes::Cb;
@ -311,7 +310,7 @@ impl Window {
};
let raw: *mut Window = &mut *win;
let global = WindowBinding::Wrap(cx, ptr::null(), win);
let global = WindowBinding::Wrap(cx, win);
assert!(global.is_not_null());
unsafe {
let fn_names = ["window","self"];