Remove SK_IGNORE_MAC_BLENDING_MATCH_FIX.

This flag is no longer set by any users, so remove it now that baselines
have been updated.

Change-Id: Ib952a93c16a6ca65d89a2009e9732c6339d83f9f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/221542
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
This commit is contained in:
Ben Wagner 2019-06-18 09:47:21 -04:00 committed by Skia Commit-Bot
parent 5d89b66ff6
commit 8755b74841

View File

@ -2337,7 +2337,6 @@ void SkTypeface_Mac::onFilterRec(SkScalerContextRec* rec) const {
rec->ignorePreBlend(); rec->ignorePreBlend();
#endif #endif
} else { } else {
#ifndef SK_IGNORE_MAC_BLENDING_MATCH_FIX
SkColor color = rec->getLuminanceColor(); SkColor color = rec->getLuminanceColor();
if (smoothBehavior == SmoothBehavior::some) { if (smoothBehavior == SmoothBehavior::some) {
// CoreGraphics smoothed text without subpixel coverage blitting goes from a gamma of // CoreGraphics smoothed text without subpixel coverage blitting goes from a gamma of
@ -2355,7 +2354,7 @@ void SkTypeface_Mac::onFilterRec(SkScalerContextRec* rec) const {
SkColorGetB(color) * 3/4); SkColorGetB(color) * 3/4);
} }
rec->setLuminanceColor(color); rec->setLuminanceColor(color);
#endif
// CoreGraphics dialates smoothed text to provide contrast. // CoreGraphics dialates smoothed text to provide contrast.
rec->setContrast(0); rec->setContrast(0);
} }