aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkScalerContext.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-04-27 07:49:17 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-27 07:49:17 -0700
commit1e7f5e708e5daeb0c18ae49001c9e3cd5e3b13cb (patch)
treec012c4ab0679914ca494e3ccceac6ce2242faed2 /src/core/SkScalerContext.cpp
parent4b6566644f704cf9e30c71fa547c9b5915752792 (diff)
remove 'deprecated' region from SkDraw
Most call-sites that used it just took its bounds, so it was trivial to convert them to get the bounds of the RasterClip. Two clients wanted the actual region: 1. layeriter for android 2. pdf Android already only has BW clips, so should be safe. PDF now overrides its clip methods to ensure that all clips are BW. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1925693002 Review URL: https://codereview.chromium.org/1925693002
Diffstat (limited to 'src/core/SkScalerContext.cpp')
-rw-r--r--src/core/SkScalerContext.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp
index ad753dfd21..85e8994f4f 100644
--- a/src/core/SkScalerContext.cpp
+++ b/src/core/SkScalerContext.cpp
@@ -402,7 +402,6 @@ static void generateMask(const SkMask& mask, const SkPath& path,
SkDraw draw;
draw.fDst = dst;
draw.fRC = &clip;
- draw.fClip = &clip.bwRgn();
draw.fMatrix = &matrix;
draw.drawPath(path, paint);