From 2dd76d7668d8175ea1ab8f7ad27a1bfd5b917a84 Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Sun, 2 Jun 2013 16:47:06 +0000 Subject: Hamfisted fix to drawLooper w/ 0 stages bug https://codereview.chromium.org/16305002/ git-svn-id: http://skia.googlecode.com/svn/trunk@9393 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkDrawLooper.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3