diff options
author | Josh Matthews <josh@joshmatthews.net> | 2014-03-14 12:55:57 -0400 |
---|---|---|
committer | Lars Bergstrom <lars@lars.com> | 2014-03-18 09:30:35 -0500 |
commit | f279abbf9f894641f592fee7f70fa0e29d955dad (patch) | |
tree | 807167e3e53339ac6342c2c71e0062bfd4b0d82b /src/components/script/script_task.rs | |
parent | bbac8aa5c3d95e70151b824ca3443f0fb4d9b5a5 (diff) | |
download | servo-f279abbf9f894641f592fee7f70fa0e29d955dad.tar.gz servo-f279abbf9f894641f592fee7f70fa0e29d955dad.zip |
Remove all traces of Box representation from bindings. Work around file read runtime problem.
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r-- | src/components/script/script_task.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs index 0e002f4c068..5e38a8a79c7 100644 --- a/src/components/script/script_task.rs +++ b/src/components/script/script_task.rs @@ -655,7 +655,7 @@ impl ScriptTask { let this_value = if timer_data.args.len() > 0 { fail!("NYI") } else { - js_info.get().get_ref().js_compartment.borrow().global_obj.borrow().ptr + js_info.get().get_ref().js_compartment.borrow().global_obj }; // TODO: Support extra arguments. This requires passing a `*JSVal` array as `argv`. @@ -880,7 +880,7 @@ impl ScriptTask { let (cx, global_obj) = { let js_info = page.js_info(); (js_info.get().get_ref().js_context.clone(), - js_info.get().get_ref().js_compartment.borrow().global_obj.clone()) + js_info.get().get_ref().js_compartment.borrow().global_obj) }; cx.borrow().evaluate_script(global_obj, file.data.clone(), |