mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Pass a borrowed fetch context to fetch().
This will allow inspecting its state after fetching in unit tests.
This commit is contained in:
parent
1153ca9841
commit
234b47e33e
4 changed files with 8 additions and 8 deletions
|
@ -586,7 +586,7 @@ impl CoreResourceManager {
|
|||
devtools_chan: dc,
|
||||
filemanager: filemanager,
|
||||
};
|
||||
fetch(Rc::new(request), &mut target, context);
|
||||
fetch(Rc::new(request), &mut target, &context);
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue