| Index: tests/UtilsTest.cpp
|
| diff --git a/tests/UtilsTest.cpp b/tests/UtilsTest.cpp
|
| index 63b905aff2b0cc6a139a5328d46d4c09d749056b..33d5c97112d6950ccf85e3a6626682a1f94595dc 100644
|
| --- a/tests/UtilsTest.cpp
|
| +++ b/tests/UtilsTest.cpp
|
| @@ -71,7 +71,7 @@ static void test_autostarray(skiatest::Reporter* reporter) {
|
| REPORTER_ASSERT(reporter, 0 == tmp.count());
|
| REPORTER_ASSERT(reporter, 1 == obj0.getRefCnt());
|
| REPORTER_ASSERT(reporter, 1 == obj1.getRefCnt());
|
| -
|
| +
|
| tmp.reset(2); // this should use the preexisting allocation
|
| REPORTER_ASSERT(reporter, 2 == tmp.count());
|
| tmp[0] = &obj0;
|
|
|