Index: tests/RecordDrawTest.cpp |
diff --git a/tests/RecordDrawTest.cpp b/tests/RecordDrawTest.cpp |
index 4e1ad15bf4941acae30a502b70b5703b47593356..cf138b8d4ed124720d9aac59edfa021e7de37605 100644 |
--- a/tests/RecordDrawTest.cpp |
+++ b/tests/RecordDrawTest.cpp |
@@ -123,10 +123,10 @@ DEF_TEST(RecordDraw_SetMatrixClobber, r) { |
} |
struct TestBBH : public SkBBoxHierarchy { |
- void insert(SkAutoTMalloc<SkRect>* boundsArray, int N) SK_OVERRIDE { |
+ void insert(const SkRect boundsArray[], int N) SK_OVERRIDE { |
fEntries.setCount(N); |
for (int i = 0; i < N; i++) { |
- Entry e = { (unsigned)i, (*boundsArray)[i] }; |
+ Entry e = { (unsigned)i, boundsArray[i] }; |
fEntries[i] = e; |
} |
} |