Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(615)

Unified Diff: tests/CTest.cpp

Issue 736133006: more c (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« include/c/sk_matrix.h ('K') | « src/c/sk_surface.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/CTest.cpp
diff --git a/tests/CTest.cpp b/tests/CTest.cpp
index 8127e9b10641608890e6f1e66cec849196cb5aed..81702ac7d08287b42c3f2c0fbf67b6c6fbc265f9 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) {
« include/c/sk_matrix.h ('K') | « src/c/sk_surface.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698