aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2014-11-24 19:11:48 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-24 19:11:48 -0800
commitafa278e250034186497722b1bc49ced885770249 (patch)
tree5ec792754f789938c07fcf57e5691da199f14831 /tests
parent0674fc7cafb6c416db2e339d5240a0f53a718f24 (diff)
more c
BUG=skia: TBR= Review URL: https://codereview.chromium.org/736133006
Diffstat (limited to 'tests')
-rw-r--r--tests/CTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CTest.cpp b/tests/CTest.cpp
index 8127e9b106..81702ac7d0 100644
--- a/tests/CTest.cpp
+++ b/tests/CTest.cpp
@@ -31,7 +31,7 @@ static void test_c(skiatest::Reporter* reporter) {
REPORTER_ASSERT(reporter, 0xFFFFFFFF == pixel[0]);
sk_paint_delete(paint);
- sk_surface_delete(surface);
+ sk_surface_unref(surface);
}
DEF_TEST(C_API, reporter) {