aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-16 19:21:12 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-16 19:21:12 +0000
commit73a025811c202fee3248bc7756fba6deb79bfdd1 (patch)
tree439e979fb2085a431e796c90445edbb0e94b9c06
parent115d931d2fbd3a109a21b28c8a9c5099e6c49c54 (diff)
computeFastStrokeBounds needs to pass kStroke_Style instead of kFill_Style (ya think?)
git-svn-id: http://skia.googlecode.com/svn/trunk@3981 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--include/core/SkPaint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 134d4bf6d8..1930db1484 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -881,7 +881,7 @@ public:
const SkRect& computeFastStrokeBounds(const SkRect& orig,
SkRect* storage) const {
- return this->doComputeFastBounds(orig, storage, kFill_Style);
+ return this->doComputeFastBounds(orig, storage, kStroke_Style);
}
// Take the style explicitly, so the caller can force us to be stroked