summaryrefslogtreecommitdiff
path: root/test/tile
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-08-12 11:20:49 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-08-24 13:06:23 -0700
commite706ed4b2ee8d73e17146b33b2c91463b7186777 (patch)
tree76375e15c031d169474a864b2dfa13c7485727be /test/tile
parent3d3648387bd3cfc8e330a0a729decd68ae37f96e (diff)
downloadqtlocation-mapboxgl-e706ed4b2ee8d73e17146b33b2c91463b7186777.tar.gz
[core] Avoid RenderStyle dependency in query code
Diffstat (limited to 'test/tile')
-rw-r--r--test/tile/annotation_tile.test.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/tile/annotation_tile.test.cpp b/test/tile/annotation_tile.test.cpp
index c58b980ecd..86ede07089 100644
--- a/test/tile/annotation_tile.test.cpp
+++ b/test/tile/annotation_tile.test.cpp
@@ -4,7 +4,6 @@
#include <mbgl/util/default_thread_pool.hpp>
#include <mbgl/util/run_loop.hpp>
#include <mbgl/map/transform.hpp>
-#include <mbgl/renderer/render_style.hpp>
#include <mbgl/renderer/tile_parameters.hpp>
#include <mbgl/renderer/query.hpp>
#include <mbgl/text/collision_tile.hpp>
@@ -31,7 +30,6 @@ public:
AnnotationManager annotationManager { style };
HeadlessBackend backend;
BackendScope scope { backend };
- RenderStyle renderStyle { threadPool, fileSource };
ImageManager imageManager;
GlyphManager glyphManager { fileSource };
@@ -93,7 +91,7 @@ TEST(AnnotationTile, Issue8289) {
TransformState transformState;
RenderedQueryOptions options;
- tile.queryRenderedFeatures(result, queryGeometry, transformState, test.renderStyle, options);
+ tile.queryRenderedFeatures(result, queryGeometry, transformState, {}, options);
EXPECT_TRUE(result.empty());
}