| Index: src/core/SkRTree.cpp
|
| diff --git a/src/core/SkRTree.cpp b/src/core/SkRTree.cpp
|
| index 13083be2125ff4d4d970cba0d74035ad06c0ca5f..ba5843e537eaba6b3f90862132e5c0dc29d7f77e 100644
|
| --- a/src/core/SkRTree.cpp
|
| +++ b/src/core/SkRTree.cpp
|
| @@ -9,14 +9,14 @@
|
|
|
| SkRTree::SkRTree(SkScalar aspectRatio) : fCount(0), fAspectRatio(aspectRatio) {}
|
|
|
| -void SkRTree::insert(SkAutoTMalloc<SkRect>* boundsArray, int N) {
|
| +void SkRTree::insert(const SkRect boundsArray[], int N) {
|
| SkASSERT(0 == fCount);
|
|
|
| SkTDArray<Branch> branches;
|
| branches.setReserve(N);
|
|
|
| for (int i = 0; i < N; i++) {
|
| - const SkRect& bounds = (*boundsArray)[i];
|
| + const SkRect& bounds = boundsArray[i];
|
| if (bounds.isEmpty()) {
|
| continue;
|
| }
|
|
|