diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-13 15:37:25 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-13 15:37:25 +0000 |
commit | d647426714a96d42faff8ea53464343b29b427cd (patch) | |
tree | 317f31d6221f508d0204bf8a01d44f7932198ef5 /tests/UtilsTest.cpp | |
parent | fa1bd5f86ceea6cfa8303594730125ad2853d87b (diff) |
Reverted 10056-10059
git-svn-id: http://skia.googlecode.com/svn/trunk@10060 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/UtilsTest.cpp')
-rw-r--r-- | tests/UtilsTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/UtilsTest.cpp b/tests/UtilsTest.cpp index 33d5c97112..63b905aff2 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; |