aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-03-08 16:06:06 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-03-08 16:06:06 +0000
commitddbf4c85dece1bef3b6c97219187a6b616b66346 (patch)
tree34d9264491d8bf4d00a6ae2a2d3d84106cc16c68 /tests
parent480ab7d5f13c4b281051a129c5cb4914da511a16 (diff)
remove unused methods from SkRefPtr, as a check-point for better understanding
what we want to do with this class. git-svn-id: http://skia.googlecode.com/svn/trunk@903 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r--tests/UtilsTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/UtilsTest.cpp b/tests/UtilsTest.cpp
index 1e11bdcc2d..2019a77f74 100644
--- a/tests/UtilsTest.cpp
+++ b/tests/UtilsTest.cpp
@@ -23,17 +23,17 @@ static void test_refptr(skiatest::Reporter* reporter) {
SkRefPtr<RefClass> rc1;
REPORTER_ASSERT(reporter, rc0 == rc1);
- REPORTER_ASSERT(reporter, rc0 != r0);
+ REPORTER_ASSERT(reporter, rc0.get() != r0);
rc0 = r0;
REPORTER_ASSERT(reporter, rc0);
REPORTER_ASSERT(reporter, rc0 != rc1);
- REPORTER_ASSERT(reporter, rc0 == r0);
+ REPORTER_ASSERT(reporter, rc0.get() == r0);
rc1 = rc0;
REPORTER_ASSERT(reporter, rc1);
REPORTER_ASSERT(reporter, rc0 == rc1);
- REPORTER_ASSERT(reporter, rc0 == r0);
+ REPORTER_ASSERT(reporter, rc0.get() == r0);
rc0 = NULL;
REPORTER_ASSERT(reporter, rc0.get() == NULL);