diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-06-24 18:40:46 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-06-25 16:26:21 +0300 |
commit | be4cb6786babca3368b10e2c1c1aaa9eb43e5663 (patch) | |
tree | ea3def9013e1666d92d35cff261e0f9bff16beba /src/mbgl/text/glyph_pbf.hpp | |
parent | b56c356de71a3edec76984ddf4202c92930bd17b (diff) | |
download | qtlocation-mapboxgl-be4cb6786babca3368b10e2c1c1aaa9eb43e5663.tar.gz |
Make the FileSource available from the ThreadContext
For now we set the FileSource for the Worker context
but in the future after fixing #1664 we can assert()
that FileSource are set only for the Map thread context.
Diffstat (limited to 'src/mbgl/text/glyph_pbf.hpp')
-rw-r--r-- | src/mbgl/text/glyph_pbf.hpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mbgl/text/glyph_pbf.hpp b/src/mbgl/text/glyph_pbf.hpp index bb6fa83ae6..cc083e7f10 100644 --- a/src/mbgl/text/glyph_pbf.hpp +++ b/src/mbgl/text/glyph_pbf.hpp @@ -9,7 +9,6 @@ namespace mbgl { -class Environment; class FontStack; class Request; @@ -21,7 +20,6 @@ public: GlyphPBF(const std::string &glyphURL, const std::string &fontStack, GlyphRange glyphRange, - Environment &env, const GlyphLoadedCallback& successCallback, const GlyphLoadingFailedCallback& failureCallback); ~GlyphPBF(); @@ -43,7 +41,6 @@ private: std::string url; std::atomic<bool> parsed; - Environment& env; Request* req = nullptr; }; |