aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkScalerContext.cpp
diff options
context:
space:
mode:
authorGravatar Yuqian Li <liyuqian@google.com>2018-04-11 18:34:17 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-11 18:37:29 +0000
commited5e069dbb0b2ef49e22b9d17af3875e3682cd61 (patch)
tree0f20b90f04414f86f309c7412bb1e73bea9637c7 /src/core/SkScalerContext.cpp
parent3462eb0346de0ad645bae96246d57c98521f1ffc (diff)
Revert "Add private fIsBadForDAA bit to SkPath"
This reverts commit 54aefc74103a5c1810a7cc074746915c78ab3132. Reason for revert: Forget the guard flag. Pixel tests would fail. Original change's description: > Add private fIsBadForDAA bit to SkPath > > Bug: chromium:821353 > Change-Id: Ic6585e76df692bb1853d0990d75f0e8d1dee22f4 > Reviewed-on: https://skia-review.googlesource.com/120201 > Commit-Queue: Yuqian Li <liyuqian@google.com> > Reviewed-by: Mike Reed <reed@google.com> TBR=caryclark@google.com,liyuqian@google.com,reed@google.com Change-Id: I2fe7cfcc3a80a51415f72d656da95a894a3240a4 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: chromium:821353 Reviewed-on: https://skia-review.googlesource.com/120505 Reviewed-by: Yuqian Li <liyuqian@google.com> Commit-Queue: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'src/core/SkScalerContext.cpp')
-rw-r--r--src/core/SkScalerContext.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp
index 6e5fbe5635..600163910a 100644
--- a/src/core/SkScalerContext.cpp
+++ b/src/core/SkScalerContext.cpp
@@ -21,7 +21,6 @@
#include "SkMatrix22.h"
#include "SkPaintPriv.h"
#include "SkPathEffect.h"
-#include "SkPathPriv.h"
#include "SkRasterClip.h"
#include "SkReadBuffer.h"
#include "SkStroke.h"
@@ -445,7 +444,6 @@ void SkScalerContext::getImage(const SkGlyph& origGlyph) {
} else {
SkASSERT(SkMask::kARGB32_Format != origGlyph.fMaskFormat);
SkASSERT(SkMask::kARGB32_Format != mask.fFormat);
- SkPathPriv::SetIsBadForDAA(devPath, true); // crbug.com/821353
generateMask(mask, devPath, fPreBlend);
}
}