diff options
Diffstat (limited to 'test/style/glyph_store.cpp')
-rw-r--r-- | test/style/glyph_store.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/style/glyph_store.cpp b/test/style/glyph_store.cpp index 55f19672af..ff88841450 100644 --- a/test/style/glyph_store.cpp +++ b/test/style/glyph_store.cpp @@ -17,14 +17,13 @@ public: util::RunLoop loop; StubFileSource fileSource; StubStyleObserver observer; - GlyphStore glyphStore; + GlyphStore glyphStore { fileSource }; void run(const std::string& url, const std::string& fontStack, const std::set<GlyphRange>& glyphRanges) { // Squelch logging. Log::setObserver(std::make_unique<Log::NullObserver>()); util::ThreadContext::Set(&context); - util::ThreadContext::setFileSource(&fileSource); glyphStore.setObserver(&observer); glyphStore.setURL(url); |