From 8b58c4d29773bf8f3d522daa6bde63953c11405f Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Mon, 13 Feb 2012 14:49:09 +0000 Subject: [PATCH] path effect on a very thin line should not be discarded Review URL: http://codereview.appspot.com/5649069/ git-svn-id: http://skia.googlecode.com/svn/trunk@3171 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/SkGpuDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index da97fde..94ac5d2 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -1118,8 +1118,8 @@ void SkGpuDevice::drawPath(const SkDraw& draw, const SkPath& origSrcPath, // at this point we're done with prePathMatrix SkDEBUGCODE(prePathMatrix = (const SkMatrix*)0x50FF8001;) - if (doFill && (paint.getPathEffect() || - paint.getStyle() != SkPaint::kFill_Style)) { + if (paint.getPathEffect() || + (doFill && paint.getStyle() != SkPaint::kFill_Style)) { // it is safe to use tmpPath here, even if we already used it for the // prepathmatrix, since getFillPath can take the same object for its // input and output safely. -- 2.7.4