Index: src/core/SkRecordDraw.cpp |
diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp |
index 323ceca0e17818d3c8476ad2050f4ba09f4408c7..626dd6d792e6ff0a210b72d5938c99711f945006 100644 |
--- a/src/core/SkRecordDraw.cpp |
+++ b/src/core/SkRecordDraw.cpp |
@@ -22,10 +22,8 @@ void SkRecordDraw(const SkRecord& record, |
// is not necessarily in that same space. getClipBounds() returns us |
// this canvas' clip bounds transformed back into identity space, which |
// lets us query the BBH. |
- SkRect query; |
- if (!canvas->getClipBounds(&query)) { |
- return; |
- } |
+ SkRect query = { 0, 0, 0, 0 }; |
+ (void)canvas->getClipBounds(&query); |
SkTDArray<unsigned> ops; |
bbh->search(query, &ops); |