From 9ca81a76a9669c70e6c4465c5d97686385e96dd8 Mon Sep 17 00:00:00 2001 From: "mike@reedtribe.org" Date: Sun, 21 Apr 2013 01:43:09 +0000 Subject: pass 0 instead of NULL for size_t parameter git-svn-id: http://skia.googlecode.com/svn/trunk@8791 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/DataRefTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/DataRefTest.cpp') diff --git a/tests/DataRefTest.cpp b/tests/DataRefTest.cpp index dbe02e88d4..d51554037e 100644 --- a/tests/DataRefTest.cpp +++ b/tests/DataRefTest.cpp @@ -63,8 +63,8 @@ static void test_datatable_is_empty(skiatest::Reporter* reporter, static void test_emptytable(skiatest::Reporter* reporter) { SkAutoTUnref table0(SkDataTable::NewEmpty()); SkAutoTUnref table1(SkDataTable::NewCopyArrays(NULL, NULL, 0)); - SkAutoTUnref table2(SkDataTable::NewCopyArray(NULL, NULL, 0)); - SkAutoTUnref table3(SkDataTable::NewArrayProc(NULL, NULL, 0, + SkAutoTUnref table2(SkDataTable::NewCopyArray(NULL, 0, 0)); + SkAutoTUnref table3(SkDataTable::NewArrayProc(NULL, 0, 0, NULL, NULL)); test_datatable_is_empty(reporter, table0); -- cgit v1.2.3