Pass a borrowed fetch context to fetch().

This will allow inspecting its state after fetching in unit tests.
This commit is contained in:
Ms2ger 2016-11-08 18:01:23 +01:00
parent 1153ca9841
commit 234b47e33e
4 changed files with 8 additions and 8 deletions

View file

@ -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);
})
}