diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-16 13:48:33 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-04-15 09:56:18 -0700 |
commit | 6e78eabfff75579286ab23cbde8a36fba061ca1d (patch) | |
tree | 2437392712213f97c0326cce8691a6944fb72734 /test/style | |
parent | 253a007d99c2079b95d5c6d11715e16815067e16 (diff) | |
download | qtlocation-mapboxgl-6e78eabfff75579286ab23cbde8a36fba061ca1d.tar.gz |
[core] Clean up ThreadContext vestiges
Diffstat (limited to 'test/style')
-rw-r--r-- | test/style/glyph_store.cpp | 3 | ||||
-rw-r--r-- | test/style/source.cpp | 3 | ||||
-rw-r--r-- | test/style/style.cpp | 4 |
3 files changed, 0 insertions, 10 deletions
diff --git a/test/style/glyph_store.cpp b/test/style/glyph_store.cpp index 126317e7ad..c101d45bdf 100644 --- a/test/style/glyph_store.cpp +++ b/test/style/glyph_store.cpp @@ -13,7 +13,6 @@ using namespace mbgl; class GlyphStoreTest { public: - util::ThreadContext context { "Map", util::ThreadType::Map, util::ThreadPriority::Regular }; util::RunLoop loop; StubFileSource fileSource; StubStyleObserver observer; @@ -23,8 +22,6 @@ public: // Squelch logging. Log::setObserver(std::make_unique<Log::NullObserver>()); - util::ThreadContext::Set(&context); - glyphStore.setObserver(&observer); glyphStore.setURL(url); glyphStore.hasGlyphRanges(fontStack, glyphRanges); diff --git a/test/style/source.cpp b/test/style/source.cpp index 73367f639f..9c334c65d5 100644 --- a/test/style/source.cpp +++ b/test/style/source.cpp @@ -21,7 +21,6 @@ using namespace mbgl; class SourceTest { public: - util::ThreadContext context { "Map", util::ThreadType::Map, util::ThreadPriority::Regular }; util::RunLoop loop; StubFileSource fileSource; StubStyleObserver observer; @@ -51,8 +50,6 @@ public: // Squelch logging. Log::setObserver(std::make_unique<Log::NullObserver>()); - util::ThreadContext::Set(&context); - transform.resize({{ 512, 512 }}); transform.setLatLngZoom({0, 0}, 0); diff --git a/test/style/style.cpp b/test/style/style.cpp index 4b01b0a146..03e044ba76 100644 --- a/test/style/style.cpp +++ b/test/style/style.cpp @@ -9,8 +9,6 @@ using namespace mbgl; TEST(Style, UnusedSource) { util::RunLoop loop; - util::ThreadContext context { "Map", util::ThreadType::Map, util::ThreadPriority::Regular }; - util::ThreadContext::Set(&context); MapData data { MapMode::Still, GLContextMode::Unique, 1.0 }; StubFileSource fileSource; @@ -33,8 +31,6 @@ TEST(Style, UnusedSource) { TEST(Style, UnusedSourceActiveViaClassUpdate) { util::RunLoop loop; - util::ThreadContext context { "Map", util::ThreadType::Map, util::ThreadPriority::Regular }; - util::ThreadContext::Set(&context); MapData data { MapMode::Still, GLContextMode::Unique, 1.0 }; StubFileSource fileSource; |