summaryrefslogtreecommitdiff
path: root/src/mbgl/map/map_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/map/map_impl.cpp')
-rw-r--r--src/mbgl/map/map_impl.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mbgl/map/map_impl.cpp b/src/mbgl/map/map_impl.cpp
index fc67d3cf56..04200c267f 100644
--- a/src/mbgl/map/map_impl.cpp
+++ b/src/mbgl/map/map_impl.cpp
@@ -9,7 +9,6 @@ Map::Impl::Impl(Map& map_,
RendererFrontend& frontend,
MapObserver& mapObserver,
FileSource& fileSource_,
- Scheduler& scheduler_,
Size size_,
float pixelRatio_,
MapMode mode_,
@@ -20,14 +19,13 @@ Map::Impl::Impl(Map& map_,
observer(mapObserver),
rendererFrontend(frontend),
fileSource(fileSource_),
- scheduler(scheduler_),
transform(observer,
constrainMode_,
viewportMode_),
mode(mode_),
pixelRatio(pixelRatio_),
crossSourceCollisions(crossSourceCollisions_),
- style(std::make_unique<style::Style>(scheduler, fileSource, pixelRatio)),
+ style(std::make_unique<style::Style>(fileSource, pixelRatio)),
annotationManager(*style) {
style->impl->setObserver(this);