diff options
author | humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-14 01:44:59 +0000 |
---|---|---|
committer | humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-14 01:44:59 +0000 |
commit | 9c96d4b5ffdbf8c82f55b2058a2fea7225fe11d6 (patch) | |
tree | cbc2c959e30f627ae77ce70e21acb1674dc72de4 /tests/UtilsTest.cpp | |
parent | 7e4d99acefe57a599a407e0a5d23452506c68e26 (diff) |
fix trivial matrix computation
Revert "Reverted 10056-10059"
This reverts commit bab4ebcaa7270c3b866a8e10917c39b055ebd51a.
Fix broken GM test, reintroduce image scaling.
BUG=
Review URL: https://codereview.chromium.org/18721006
git-svn-id: http://skia.googlecode.com/svn/trunk@10066 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 63b905aff2..33d5c97112 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; |