mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
auto merge of #4526 : servo/servo/deref-1, r=Manishearth
This is a start towards fixing #3868. Not all callers have been fixed yet, so the `Deref` implementation remains for now.
This commit is contained in:
commit
141b5d038f
71 changed files with 592 additions and 568 deletions
|
@ -147,7 +147,7 @@ impl CallSetup {
|
|||
pub fn new<T: CallbackContainer>(callback: T, handling: ExceptionHandling) -> CallSetup {
|
||||
let global = global_object_for_js_object(callback.callback());
|
||||
let global = global.root();
|
||||
let cx = global.root_ref().get_cx();
|
||||
let cx = global.r().get_cx();
|
||||
CallSetup {
|
||||
cx: cx,
|
||||
_handling: handling
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue