summaryrefslogtreecommitdiff
path: root/test/api/custom_layer.test.cpp
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2019-03-13 13:18:55 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2019-03-13 13:28:42 +0200
commit8709587c716fdd0cb04e0b0547cd63e92baf33a4 (patch)
tree0d6dd168b04569e54e2e4e7cc7051507688d5a7f /test/api/custom_layer.test.cpp
parentf66532534827ea3f68e93e381a58bd0d02ab7f79 (diff)
downloadqtlocation-mapboxgl-8709587c716fdd0cb04e0b0547cd63e92baf33a4.tar.gz
[core] Renderer::Impl receives FileSource via UpdateParametersupstream/renderer-ctor-no-filesource
Diffstat (limited to 'test/api/custom_layer.test.cpp')
-rw-r--r--test/api/custom_layer.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/api/custom_layer.test.cpp b/test/api/custom_layer.test.cpp
index d840925206..18c6dc1692 100644
--- a/test/api/custom_layer.test.cpp
+++ b/test/api/custom_layer.test.cpp
@@ -93,7 +93,7 @@ TEST(CustomLayer, Basic) {
DefaultFileSource fileSource(":memory:", "test/fixtures/api/assets");
ThreadPool threadPool(4);
float pixelRatio { 1 };
- HeadlessFrontend frontend { pixelRatio, fileSource, threadPool };
+ HeadlessFrontend frontend { pixelRatio, threadPool };
Map map(frontend, MapObserver::nullObserver(), frontend.getSize(), pixelRatio, fileSource,
threadPool, MapOptions().withMapMode(MapMode::Static));
map.getStyle().loadJSON(util::read_file("test/fixtures/api/water.json"));