fix for non-Windows-specific compiler error in r4624
git-svn-id: http://skia.googlecode.com/svn/trunk@4625 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/DequeTest.cpp b/tests/DequeTest.cpp
index 40fcb5a..00162bb 100644
--- a/tests/DequeTest.cpp
+++ b/tests/DequeTest.cpp
@@ -97,7 +97,7 @@
}
}
-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 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)