diff options
Diffstat (limited to 'test/api/repeated_render.cpp')
-rw-r--r-- | test/api/repeated_render.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/api/repeated_render.cpp b/test/api/repeated_render.cpp index d3d3926a49..0b2a87cc33 100644 --- a/test/api/repeated_render.cpp +++ b/test/api/repeated_render.cpp @@ -4,7 +4,7 @@ #include <mbgl/map/map.hpp> #include <mbgl/platform/default/headless_view.hpp> #include <mbgl/platform/default/headless_display.hpp> -#include <mbgl/storage/default_file_source.hpp> +#include <mbgl/storage/online_file_source.hpp> #include <mbgl/util/image.hpp> #include <mbgl/util/io.hpp> @@ -18,9 +18,9 @@ TEST(API, RepeatedRender) { auto display = std::make_shared<mbgl::HeadlessDisplay>(); HeadlessView view(display, 1, 256, 512); #ifdef MBGL_ASSET_ZIP - DefaultFileSource fileSource(nullptr, "test/fixtures/api/assets.zip"); + OnlineFileSource fileSource(nullptr, "test/fixtures/api/assets.zip"); #else - DefaultFileSource fileSource(nullptr); + OnlineFileSource fileSource(nullptr); #endif Log::setObserver(std::make_unique<FixtureLogObserver>()); |