From 1e7f5e708e5daeb0c18ae49001c9e3cd5e3b13cb Mon Sep 17 00:00:00 2001 From: reed Date: Wed, 27 Apr 2016 07:49:17 -0700 Subject: 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 --- src/core/SkScalerContext.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/core/SkScalerContext.cpp') 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); -- cgit v1.2.3