aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-26 00:17:41 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-26 00:17:41 +0000
commit81e3412ebf2ca936a1c7d11f0b9e23cf518b8895 (patch)
tree20d582d30fc4f8288dc9aaec2c8e858469c5ef41 /src
parent056ae7cec3f2643796d275861f90c858e3a26c1e (diff)
Revert "avoid AntiFrameRect when strokeSize is too small. Workaround for skbug/1368"
This reverts commit b70c77bb33495b5956550b39d479cf9b911d6114. git-svn-id: http://skia.googlecode.com/svn/trunk@9762 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/core/SkDraw.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp
index fa572f7434..1cfeaa34d6 100644
--- a/src/core/SkDraw.cpp
+++ b/src/core/SkDraw.cpp
@@ -853,11 +853,6 @@ void SkDraw::drawRect(const SkRect& rect, const SkPaint& paint) const {
SkPoint strokeSize;
RectType rtype = ComputeRectType(paint, *fMatrix, &strokeSize);
- // work-around bug in antiframerect when strokesize is < 1
- if (strokeSize.fX < SK_Scalar1 || strokeSize.fY < SK_Scalar1) {
- rtype = kPath_RectType;
- }
-
if (kPath_RectType == rtype) {
SkPath tmp;
tmp.addRect(rect);