diff options
author | Yuqian Li <liyuqian@google.com> | 2018-04-18 14:14:33 -0700 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-18 21:57:44 +0000 |
commit | 881091f62ea5bbcc8c9f856c12aef3c74f9bf991 (patch) | |
tree | d2f5c0b96f86400512bceea9b90de9eb8876e44a /src | |
parent | c274f8f942bf756fc78ab01992aecb855231f9e3 (diff) |
Remove SK_SUPPORT_LEGACY_PATH_DAA_BIT
Change-Id: I5ff39063b1adc1c4f2bf5246fd69c6031c444908
Reviewed-on: https://skia-review.googlesource.com/122133
Commit-Queue: Yuqian Li <liyuqian@google.com>
Auto-Submit: Yuqian Li <liyuqian@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkScalerContext.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp index 096554437c..44ba94886b 100644 --- a/src/core/SkScalerContext.cpp +++ b/src/core/SkScalerContext.cpp @@ -446,10 +446,8 @@ void SkScalerContext::getImage(const SkGlyph& origGlyph) { } else { SkASSERT(SkMask::kARGB32_Format != origGlyph.fMaskFormat); SkASSERT(SkMask::kARGB32_Format != mask.fFormat); -#ifndef SK_SUPPORT_LEGACY_PATH_DAA_BIT // DAA would have over coverage issues with small stroke_and_fill (crbug.com/821353) SkPathPriv::SetIsBadForDAA(devPath, fRec.fFrameWidth > 0 && fRec.fFrameWidth <= 2); -#endif generateMask(mask, devPath, fPreBlend); } } |