diff options
-rw-r--r-- | src/core/SkBBoxRecord.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkBBoxRecord.cpp b/src/core/SkBBoxRecord.cpp index 78559a4a65..bec6ff6e13 100644 --- a/src/core/SkBBoxRecord.cpp +++ b/src/core/SkBBoxRecord.cpp @@ -274,7 +274,7 @@ bool SkBBoxRecord::transformBounds(const SkRect& bounds, const SkPaint* paint) { } } - if (!this->quickReject(outBounds)) { + if (!outBounds.isEmpty() && !this->quickReject(outBounds)) { this->getTotalMatrix().mapRect(&outBounds); this->handleBBox(outBounds); return true; |