aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-02 16:47:06 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-02 16:47:06 +0000
commit2dd76d7668d8175ea1ab8f7ad27a1bfd5b917a84 (patch)
tree286fd18dab88fc4ffccf12f85ad2816e8e5b3104
parentef7d98e9600351ad5bf1b5abf5f9ac48a14b163c (diff)
Hamfisted fix to drawLooper w/ 0 stages bug
-rw-r--r--src/core/SkDrawLooper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkDrawLooper.cpp b/src/core/SkDrawLooper.cpp
index 79a3f015f1..bdf63e9336 100644
--- a/src/core/SkDrawLooper.cpp
+++ b/src/core/SkDrawLooper.cpp
@@ -35,6 +35,7 @@ void SkDrawLooper::computeFastBounds(const SkPaint& paint, const SkRect& src,
SkRect* dst) {
SkCanvas canvas;
+ *dst = src;
this->init(&canvas);
for (bool firstTime = true;; firstTime = false) {
SkPaint p(paint);