summaryrefslogtreecommitdiff
path: root/src/mbgl/map/vector_tile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/map/vector_tile.cpp')
-rw-r--r--src/mbgl/map/vector_tile.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/map/vector_tile.cpp b/src/mbgl/map/vector_tile.cpp
index b044250f8c..3cffed13ac 100644
--- a/src/mbgl/map/vector_tile.cpp
+++ b/src/mbgl/map/vector_tile.cpp
@@ -4,7 +4,6 @@
#include <mbgl/storage/response.hpp>
#include <mbgl/storage/file_source.hpp>
#include <mbgl/util/thread_context.hpp>
-#include <mbgl/util/run_loop.hpp>
#include <sstream>
@@ -183,7 +182,7 @@ VectorTileMonitor::VectorTileMonitor(const SourceInfo& source, const TileID& id,
}
Request* VectorTileMonitor::monitorTile(std::function<void (std::exception_ptr, std::unique_ptr<GeometryTile>)> callback) {
- return util::ThreadContext::getFileSource()->request({ Resource::Kind::Tile, url }, util::RunLoop::getLoop(), [callback, this](const Response& res) {
+ return util::ThreadContext::getFileSource()->request({ Resource::Kind::Tile, url }, [callback, this](const Response& res) {
if (res.data && data == res.data) {
// We got the same data again. Abort early.
return;