aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkDrawLooper.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-03 16:58:58 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-03 16:58:58 +0000
commit135ece137b471219eea06a652069b86a3b6ec349 (patch)
treec153ee102b6a7545c6ec770689adc1ad475fecbd /src/core/SkDrawLooper.cpp
parentc117cbae6196cfcade083805d999779fe8244091 (diff)
Added comment to SkDrawLooper fix
(SkipBuildbotRuns) git-svn-id: http://skia.googlecode.com/svn/trunk@9406 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkDrawLooper.cpp')
-rw-r--r--src/core/SkDrawLooper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkDrawLooper.cpp b/src/core/SkDrawLooper.cpp
index bdf63e9336..0277986a8b 100644
--- a/src/core/SkDrawLooper.cpp
+++ b/src/core/SkDrawLooper.cpp
@@ -35,7 +35,7 @@ void SkDrawLooper::computeFastBounds(const SkPaint& paint, const SkRect& src,
SkRect* dst) {
SkCanvas canvas;
- *dst = src;
+ *dst = src; // catch case where there are no loops
this->init(&canvas);
for (bool firstTime = true;; firstTime = false) {
SkPaint p(paint);