[core] Do not pass uv_loop_t around

This should be abstracted by util::RunLoop
This commit is contained in:
Thiago Marcos P. Santos
2015-08-31 14:40:09 +03:00
committed by John Firebaugh
parent 2eb0203bf4
commit 36581f3d30
32 changed files with 192 additions and 90 deletions

View File

@@ -30,7 +30,7 @@ void RasterTileData::request(float pixelRatio,
state = State::loading;
FileSource* fs = util::ThreadContext::getFileSource();
req = fs->request({ Resource::Kind::Tile, url }, util::RunLoop::getLoop(), [url, callback, this](const Response &res) {
req = fs->request({ Resource::Kind::Tile, url }, [url, callback, this](const Response &res) {
if (res.stale) {
// Only handle fresh responses.
return;