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
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 134d4bf..1930db1 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -881,7 +881,7 @@
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