Index: src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp |
diff --git a/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp b/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp |
index 6443d41ac5a647e67e6a0e16461db6e1cce69f8b..14bf4a5d61ef8a6bb40929a916b9ede20c64409c 100644 |
--- a/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp |
+++ b/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp |
@@ -8,6 +8,7 @@ |
#include "GrAtlasTextBlob.h" |
#include "GrBatchFlushState.h" |
+#include "GrTextUtils.h" |
#include "SkDistanceFieldGen.h" |
#include "SkGlyphCache.h" |
@@ -146,7 +147,7 @@ void GrAtlasTextBlob::regenInBatch(GrDrawBatch::Target* target, |
} |
*desc = newDesc; |
*cache = SkGlyphCache::DetachCache(run->fTypeface, *desc); |
- *scaler = GrTextContext::GetGrFontScaler(*cache); |
+ *scaler = GrTextUtils::GetGrFontScaler(*cache); |
*typeface = run->fTypeface; |
} |