Fix build break in r2136
TBR=junov@chromium.org
git-svn-id: http://skia.googlecode.com/svn/trunk@2137 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/gr_unittests.cpp b/gpu/src/gr_unittests.cpp
index 1761421..6e51e19 100644
--- a/gpu/src/gr_unittests.cpp
+++ b/gpu/src/gr_unittests.cpp
@@ -85,12 +85,10 @@
kDataLenUsedForKey = 8
};
- class Entry {};
-
- GrBinHashKey<Entry, kDataLenUsedForKey> keyA;
+ GrBinHashKey<BogusEntry, kDataLenUsedForKey> keyA;
keyA.setKeyData(testStringA);
// test copy constructor and comparison
- GrBinHashKey<Entry, kDataLenUsedForKey> keyA2(keyA);
+ GrBinHashKey<BogusEntry, kDataLenUsedForKey> keyA2(keyA);
GrAssert(keyA.compare(keyA2) == 0);
GrAssert(keyA.getHash() == keyA2.getHash());
// test re-init
@@ -98,7 +96,7 @@
GrAssert(keyA.compare(keyA2) == 0);
GrAssert(keyA.getHash() == keyA2.getHash());
// test sorting
- GrBinHashKey<Entry, kDataLenUsedForKey> keyB;
+ GrBinHashKey<BogusEntry, kDataLenUsedForKey> keyB;
keyB.setKeyData(testStringB);
GrAssert(keyA.compare(keyB) < 0);
GrAssert(keyA.getHash() != keyB.getHash());