summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-12-05 18:48:00 -0800
committerMinh Nguyễn <mxn@1ec5.org>2016-12-05 18:48:00 -0800
commit9456bec1721f5cd69e7813c68b829db4c7ff9660 (patch)
tree3a49424be816b9d44a4c2e8393bd1592b0ac7103
parent1045934d5e62eaf85bc280ce2d75e7558f5a5104 (diff)
downloadqtlocation-mapboxgl-9456bec1721f5cd69e7813c68b829db4c7ff9660.tar.gz
[test] Fixed Map-GetImage
Followup to #7096.
-rw-r--r--test/map/map.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/map/map.test.cpp b/test/map/map.test.cpp
index ac82bbacae..5311aeb17f 100644
--- a/test/map/map.test.cpp
+++ b/test/map/map.test.cpp
@@ -398,7 +398,7 @@ TEST(Map, RemoveImage) {
TEST(Map, GetImage) {
MapTest test;
- Map map(test.backend, test.view.size, 1, test.fileSource, test.threadPool, MapMode::Still);
+ Map map(test.backend, test.view.getSize(), 1, test.fileSource, test.threadPool, MapMode::Still);
auto decoded = decodeImage(util::read_file("test/fixtures/sprites/default_marker.png"));
auto image = std::make_unique<SpriteImage>(std::move(decoded), 1.0);