diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2019-03-13 16:24:27 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2019-03-13 17:56:44 +0200 |
commit | 8cc100bfd56955c629d5da0bc49ce2bdbae52946 (patch) | |
tree | a807cdfc906af092eb7158cd90c38834f68a55a0 /platform/node/src/node_map.cpp | |
parent | 1b39f456fdab71a918427dede28f27281bd28a14 (diff) | |
download | qtlocation-mapboxgl-8cc100bfd56955c629d5da0bc49ce2bdbae52946.tar.gz |
[core] Get FileSource via UpdateParameters in Renderer::Impl
Diffstat (limited to 'platform/node/src/node_map.cpp')
-rw-r--r-- | platform/node/src/node_map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/node/src/node_map.cpp b/platform/node/src/node_map.cpp index 2beab1833f..0d69e606c1 100644 --- a/platform/node/src/node_map.cpp +++ b/platform/node/src/node_map.cpp @@ -620,7 +620,7 @@ void NodeMap::cancel() { reinterpret_cast<NodeMap *>(h->data)->renderFinished(); }); - frontend = std::make_unique<mbgl::HeadlessFrontend>(mbgl::Size{ 256, 256 }, pixelRatio, fileSource, threadpool); + frontend = std::make_unique<mbgl::HeadlessFrontend>(mbgl::Size{ 256, 256 }, pixelRatio, threadpool); mbgl::MapOptions options; options.withMapMode(mode) .withConstrainMode(mbgl::ConstrainMode::HeightOnly) @@ -1206,7 +1206,7 @@ NodeMap::NodeMap(v8::Local<v8::Object> options) }()) , mapObserver(NodeMapObserver()) , fileSource(this) - , frontend(std::make_unique<mbgl::HeadlessFrontend>(mbgl::Size { 256, 256 }, pixelRatio, fileSource, threadpool)) + , frontend(std::make_unique<mbgl::HeadlessFrontend>(mbgl::Size { 256, 256 }, pixelRatio, threadpool)) , map(std::make_unique<mbgl::Map>(*frontend, mapObserver, frontend->getSize(), |