aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/SkRemoteGlyphCacheTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/SkRemoteGlyphCacheTest.cpp b/tests/SkRemoteGlyphCacheTest.cpp
index 6986a7bb03..c05bda5d47 100644
--- a/tests/SkRemoteGlyphCacheTest.cpp
+++ b/tests/SkRemoteGlyphCacheTest.cpp
@@ -616,11 +616,10 @@ DEF_TEST(SkRemoteGlyphCache_ReWriteGlyph, reporter) {
// Send over the real glyph and make sure the client cache stays intact.
{
SkAutoDescriptor ad;
- SkScalerContextRec rec;
SkScalerContextEffects effects;
SkScalerContextFlags flags = SkScalerContextFlags::kFakeGammaAndBoostContrast;
paint.setTypeface(serverTf);
- auto* cacheState = server.getOrCreateCache(paint, nullptr, nullptr, flags, &rec, &effects);
+ auto* cacheState = server.getOrCreateCache(paint, nullptr, nullptr, flags, &effects);
cacheState->addGlyph(serverTf.get(), effects, lostGlyphID, false);
std::vector<uint8_t> serverStrikeData;