Index: src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp |
diff --git a/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp b/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp |
index 7283e6d516f85411a188e855389abe316e4d441c..7c3cf6852457e1d078dd5a175aeea35bdc4cf1fd 100644 |
--- a/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp |
+++ b/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp |
@@ -165,7 +165,7 @@ void GrAtlasTextBlob::regenInBatch(GrDrawBatch::Target* target, |
SkGlyphCache::AttachCache(*cache); |
} |
*desc = newDesc; |
- *cache = SkGlyphCache::DetachCache(run->fTypeface, *desc); |
+ *cache = SkGlyphCache::DetachCache(run->fTypeface, run->fEffects, *desc); |
*scaler = GrTextUtils::GetGrFontScaler(*cache); |
*typeface = run->fTypeface; |
} |