fix for non-Windows-specific compiler error in r4624

git-svn-id: http://skia.googlecode.com/svn/trunk@4625 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2012-07-16 17:19:21 +00:00
parent 0a78b0f4a2
commit 2e41becaa9

View File

@ -97,7 +97,7 @@ static void assert_blocks(skiatest::Reporter* reporter,
}
}
static void Test(skiatest::Reporter* reporter, int allocCount) {
static void TestSub(skiatest::Reporter* reporter, int allocCount) {
SkDeque deq(sizeof(int), allocCount);
int i;
@ -163,9 +163,9 @@ static void Test(skiatest::Reporter* reporter, int allocCount) {
static void TestDeque(skiatest::Reporter* reporter) {
// test it once with the default allocation count
Test(reporter, 1);
TestSub(reporter, 1);
// test it again with a generous allocation count
Test(reporter, 10);
TestSub(reporter, 10);
}
#include "TestClassDef.h"
DEFINE_TESTCLASS("Deque", TestDequeClass, TestDeque)