make Map::resize() private
they can only be called by View::resize
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user