Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 7597c7a07a7ec4a62c3484d5aad00e9828fbd756..c55ca10f77786c9aa18f30a8fc7e2c7ae55f1c94 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -2954,13 +2954,8 @@ void SkCanvas::drawDrawable(SkDrawable* dr, const SkMatrix* matrix) { |
} |
void SkCanvas::onDrawDrawable(SkDrawable* dr, const SkMatrix* matrix) { |
- SkRect bounds = dr->getBounds(); |
- if (matrix) { |
- matrix->mapRect(&bounds); |
- } |
- if (this->quickReject(bounds)) { |
- return; |
- } |
+ // drawable bounds are no longer reliable (e.g. android displaylist) |
+ // so don't use them for quick-reject |
dr->draw(this, matrix); |
} |