summaryrefslogtreecommitdiff
path: root/test/headless
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-02-05 14:58:20 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-03-06 13:52:25 +0100
commitfb44fc81bdab09d079ed27e22b86718627ded48b (patch)
tree2a4e7c80eb49624c0b548d7bd33401792da1faa4 /test/headless
parent0151fe6c01367ef03a2ff282b90e32dd3785a7c2 (diff)
downloadqtlocation-mapboxgl-fb44fc81bdab09d079ed27e22b86718627ded48b.tar.gz
make Map::resize() private
they can only be called by View::resize
Diffstat (limited to 'test/headless')
-rw-r--r--test/headless/headless.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/headless/headless.cpp b/test/headless/headless.cpp
index b92002aa23..bf04cbcb4b 100644
--- a/test/headless/headless.cpp
+++ b/test/headless/headless.cpp
@@ -146,7 +146,6 @@ TEST_P(HeadlessTest, render) {
map.setStyleJSON(style, "test/suite");
view.resize(width, height, pixelRatio);
- map.resize(width, height, pixelRatio);
map.setLatLngZoom(mbgl::LatLng(latitude, longitude), zoom);
map.setBearing(bearing);