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