diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-08-31 14:40:09 +0300 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-11-16 12:25:47 -0800 |
commit | 36581f3d3015d525db92248004e9dc7477705694 (patch) | |
tree | 6f5d6fb38f3ef925a1afbbf41762581b3e0dbf66 /src/mbgl/text | |
parent | 2eb0203bf43e635b756bbf1322c53b8d299d4b37 (diff) | |
download | qtlocation-mapboxgl-36581f3d3015d525db92248004e9dc7477705694.tar.gz |
[core] Do not pass uv_loop_t around
This should be abstracted by util::RunLoop
Diffstat (limited to 'src/mbgl/text')
-rw-r--r-- | src/mbgl/text/glyph_pbf.cpp | 2 | ||||
-rw-r--r-- | src/mbgl/text/glyph_store.hpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/text/glyph_pbf.cpp b/src/mbgl/text/glyph_pbf.cpp index 66327b333f..635c434a80 100644 --- a/src/mbgl/text/glyph_pbf.cpp +++ b/src/mbgl/text/glyph_pbf.cpp @@ -92,7 +92,7 @@ GlyphPBF::GlyphPBF(GlyphStore* store, }; FileSource* fs = util::ThreadContext::getFileSource(); - req = fs->request({ Resource::Kind::Glyphs, url }, util::RunLoop::getLoop(), requestCallback); + req = fs->request({ Resource::Kind::Glyphs, url }, requestCallback); } GlyphPBF::~GlyphPBF() = default; diff --git a/src/mbgl/text/glyph_store.hpp b/src/mbgl/text/glyph_store.hpp index f8de6cbaf5..1f569664f2 100644 --- a/src/mbgl/text/glyph_store.hpp +++ b/src/mbgl/text/glyph_store.hpp @@ -6,7 +6,6 @@ #include <mbgl/text/glyph_pbf.hpp> #include <mbgl/util/exclusive.hpp> #include <mbgl/util/noncopyable.hpp> -#include <mbgl/util/run_loop.hpp> #include <mbgl/util/work_queue.hpp> #include <exception> |