aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-16 17:19:21 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-16 17:19:21 +0000
commit2e41becaa90b06a17c2ac9fe30a1e34a747a87c9 (patch)
tree091d9408022f542d4d34224cda1ecf440bca8175 /tests
parent0a78b0f4a2e1a3d7d1fbdb9b0b5dba5095db2e5a (diff)
fix for non-Windows-specific compiler error in r4624
git-svn-id: http://skia.googlecode.com/svn/trunk@4625 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r--tests/DequeTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/DequeTest.cpp b/tests/DequeTest.cpp
index 40fcb5a725..00162bb6ad 100644
--- a/tests/DequeTest.cpp
+++ b/tests/DequeTest.cpp
@@ -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)