mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove intrinsic Root::r()
This commit is contained in:
parent
51bcf516c8
commit
0b3ab875f4
55 changed files with 275 additions and 310 deletions
|
@ -163,8 +163,8 @@ impl FetchResponseListener for FetchContext {
|
|||
fn process_response_eof(&mut self, _response: Result<(), NetworkError>) {
|
||||
let response = self.response_object.root();
|
||||
let global = response.global();
|
||||
let cx = global.r().get_cx();
|
||||
let _ac = JSAutoCompartment::new(cx, global.r().reflector().get_jsobject().get());
|
||||
let cx = global.get_cx();
|
||||
let _ac = JSAutoCompartment::new(cx, global.reflector().get_jsobject().get());
|
||||
response.finish(mem::replace(&mut self.body, vec![]));
|
||||
// TODO
|
||||
// ... trailerObject is not supported in Servo yet.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue