[core] Get FileSource via UpdateParameters in Renderer::Impl

This commit is contained in:
Bruno de Oliveira Abinader
2019-03-13 16:24:27 +02:00
parent 1b39f456fd
commit 8cc100bfd5
36 changed files with 46 additions and 66 deletions

View File

@@ -9,12 +9,11 @@ namespace mbgl {
Renderer::Renderer(RendererBackend& backend,
float pixelRatio_,
FileSource& fileSource_,
Scheduler& scheduler_,
GLContextMode contextMode_,
const optional<std::string> programCacheDir_,
const optional<std::string> localFontFamily_)
: impl(std::make_unique<Impl>(backend, pixelRatio_, fileSource_, scheduler_,
: impl(std::make_unique<Impl>(backend, pixelRatio_, scheduler_,
contextMode_, std::move(programCacheDir_), std::move(localFontFamily_))) {
}