[core] Remove unnecessary members from UpdateParameters

This commit is contained in:
John Firebaugh
2017-08-12 13:40:53 -07:00
parent 079ddfc8e4
commit d05486391a
3 changed files with 2 additions and 8 deletions

View File

@@ -709,8 +709,6 @@ void Map::Impl::onUpdate(Update flags) {
style->impl->getImageImpls(),
style->impl->getSourceImpls(),
style->impl->getLayerImpls(),
scheduler,
fileSource,
annotationManager,
prefetchZoomDelta,
bool(stillImageRequest)

View File

@@ -94,8 +94,8 @@ void Renderer::Impl::render(const UpdateParameters& updateParameters) {
updateParameters.pixelRatio,
updateParameters.debugOptions,
updateParameters.transformState,
updateParameters.scheduler,
updateParameters.fileSource,
scheduler,
fileSource,
updateParameters.mode,
updateParameters.annotationManager,
*imageManager,

View File

@@ -13,8 +13,6 @@
namespace mbgl {
class Scheduler;
class FileSource;
class AnnotationManager;
class UpdateParameters {
@@ -34,8 +32,6 @@ public:
const Immutable<std::vector<Immutable<style::Source::Impl>>> sources;
const Immutable<std::vector<Immutable<style::Layer::Impl>>> layers;
Scheduler& scheduler;
FileSource& fileSource;
AnnotationManager& annotationManager;
const uint8_t prefetchZoomDelta;