| Index: src/gpu/GrTextStrike_impl.h
|
| diff --git a/src/gpu/GrTextStrike_impl.h b/src/gpu/GrTextStrike_impl.h
|
| index 130509c5d8bc5c3d3f3456a3972f3cb88b409f6b..1a59d287b35182f56859f6f406f33f443f6c2bab 100644
|
| --- a/src/gpu/GrTextStrike_impl.h
|
| +++ b/src/gpu/GrTextStrike_impl.h
|
| @@ -48,7 +48,7 @@ void GrFontCache::detachStrikeFromList(GrTextStrike* strike) {
|
| }
|
| }
|
|
|
| -GrTextStrike* GrFontCache::getStrike(GrFontScaler* scaler) {
|
| +GrTextStrike* GrFontCache::getStrike(GrFontScaler* scaler, bool useDistanceField) {
|
| this->validate();
|
|
|
| const Key key(scaler->getKey());
|
| @@ -65,7 +65,9 @@ GrTextStrike* GrFontCache::getStrike(GrFontScaler* scaler) {
|
| strike->fPrev = NULL;
|
| fHead = strike;
|
| }
|
| -
|
| +#if GR_DISTANCEFIELD_FONTS
|
| + strike->fUseDistanceField = useDistanceField;
|
| +#endif
|
| this->validate();
|
| return strike;
|
| }
|
|
|