| Index: src/core/SkRecordDraw.cpp
|
| diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp
|
| index 12579e9b658b3a0529d28efbb36295bcb3be1a39..5981245c018700e8ed969e7abc75e1d76c63b7ba 100644
|
| --- a/src/core/SkRecordDraw.cpp
|
| +++ b/src/core/SkRecordDraw.cpp
|
| @@ -164,13 +164,7 @@ public:
|
|
|
| // Finally feed all stored bounds into the BBH. They'll be returned in this order.
|
| SkASSERT(bbh);
|
| - bbh->reserve(record.count());
|
| - for (unsigned i = 0; i < record.count(); i++) {
|
| - if (!fBounds[i].isEmpty()) {
|
| - bbh->insert(i, fBounds[i], true/*ok to defer*/);
|
| - }
|
| - }
|
| - bbh->flushDeferredInserts();
|
| + bbh->insert(&fBounds, record.count());
|
| }
|
|
|
| template <typename T> void operator()(const T& op) {
|
|
|