diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2019-03-13 16:24:27 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2019-03-13 17:56:44 +0200 |
commit | 8cc100bfd56955c629d5da0bc49ce2bdbae52946 (patch) | |
tree | a807cdfc906af092eb7158cd90c38834f68a55a0 /test/util | |
parent | 1b39f456fdab71a918427dede28f27281bd28a14 (diff) | |
download | qtlocation-mapboxgl-8cc100bfd56955c629d5da0bc49ce2bdbae52946.tar.gz |
[core] Get FileSource via UpdateParameters in Renderer::Impl
Diffstat (limited to 'test/util')
-rw-r--r-- | test/util/memory.test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/util/memory.test.cpp b/test/util/memory.test.cpp index a0e64a6704..36bed57ab5 100644 --- a/test/util/memory.test.cpp +++ b/test/util/memory.test.cpp @@ -71,7 +71,7 @@ TEST(Memory, Vector) { MemoryTest test; float ratio { 2 }; - HeadlessFrontend frontend { { 256, 256 }, ratio, test.fileSource, test.threadPool }; + HeadlessFrontend frontend { { 256, 256 }, ratio, test.threadPool }; Map map(frontend, MapObserver::nullObserver(), frontend.getSize(), ratio, test.fileSource, test.threadPool, MapOptions().withMapMode(MapMode::Static)); map.jumpTo(CameraOptions().withZoom(16)); @@ -84,7 +84,7 @@ TEST(Memory, Raster) { MemoryTest test; float ratio { 2 }; - HeadlessFrontend frontend { { 256, 256 }, ratio, test.fileSource, test.threadPool }; + HeadlessFrontend frontend { { 256, 256 }, ratio, test.threadPool }; Map map(frontend, MapObserver::nullObserver(), frontend.getSize(), ratio, test.fileSource, test.threadPool, MapOptions().withMapMode(MapMode::Static)); map.getStyle().loadURL("mapbox://satellite"); @@ -122,7 +122,7 @@ TEST(Memory, Footprint) { class FrontendAndMap { public: FrontendAndMap(MemoryTest& test_, const char* style) - : frontend(Size{ 256, 256 }, 2, test_.fileSource, test_.threadPool) + : frontend(Size{ 256, 256 }, 2, test_.threadPool) , map(frontend, MapObserver::nullObserver(), frontend.getSize(), 2, test_.fileSource , test_.threadPool, MapOptions().withMapMode(MapMode::Static)) { map.jumpTo(CameraOptions().withZoom(16)); |