diff options
Diffstat (limited to 'src/mbgl/map/tile_data.hpp')
-rw-r--r-- | src/mbgl/map/tile_data.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mbgl/map/tile_data.hpp b/src/mbgl/map/tile_data.hpp index fcd741a1f8..66c0fbba2e 100644 --- a/src/mbgl/map/tile_data.hpp +++ b/src/mbgl/map/tile_data.hpp @@ -23,7 +23,7 @@ typedef struct uv_loop_s uv_loop_t; namespace mbgl { class Map; -class FileSource; +class Environment; class Painter; class SourceInfo; class StyleLayer; @@ -48,10 +48,10 @@ public: }; public: - TileData(Tile::ID const& id, const SourceInfo&, FileSource&); + TileData(Tile::ID const &id, const SourceInfo &, Environment &); ~TileData(); - void request(uv::worker&, uv_loop_t&, float pixelRatio, std::function<void ()> callback); + void request(uv::worker&, float pixelRatio, std::function<void ()> callback); void reparse(uv::worker&, std::function<void ()> callback); void cancel(); const std::string toString() const; @@ -72,7 +72,7 @@ public: public: const SourceInfo& source; - FileSource& fileSource; + Environment &env; protected: Request *req = nullptr; |