mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Rename the |wrapper| field in Reflector.
This commit is contained in:
parent
549ac6a29b
commit
92e91c58da
3 changed files with 9 additions and 9 deletions
|
@ -227,7 +227,7 @@ impl Window {
|
|||
unsafe {
|
||||
let reflector = ptr::to_unsafe_ptr(win.reflector());
|
||||
win.wrap_object_shared(cx, ptr::null()); //XXXjdm proper scope
|
||||
let global = (*reflector).wrapper;
|
||||
let global = (*reflector).object;
|
||||
do "window".to_c_str().with_ref |name| {
|
||||
JS_DefineProperty(cx, global, name,
|
||||
RUST_OBJECT_TO_JSVAL(global),
|
||||
|
@ -254,7 +254,7 @@ impl Traceable for Window {
|
|||
(*tracer).debugPrintArg = name as *libc::c_void;
|
||||
debug!("tracing document");
|
||||
JS_CallTracer(tracer as *JSTracer,
|
||||
doc.wrapper.wrapper,
|
||||
doc.wrapper.object,
|
||||
JSTRACE_OBJECT as u32);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue