diff options
Diffstat (limited to 'src/core/SkDrawLooper.cpp')
-rw-r--r-- | src/core/SkDrawLooper.cpp | 1 |
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); |