aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gr_unittests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gr_unittests.cpp')
-rw-r--r--src/gpu/gr_unittests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/gr_unittests.cpp b/src/gpu/gr_unittests.cpp
index d55486130d..4d11721c3f 100644
--- a/src/gpu/gr_unittests.cpp
+++ b/src/gpu/gr_unittests.cpp
@@ -87,10 +87,10 @@ static void test_binHashKey()
kDataLenUsedForKey = 8
};
- GrBinHashKey<BogusEntry, kDataLenUsedForKey> keyA;
+ GrTBinHashKey<BogusEntry, kDataLenUsedForKey> keyA;
keyA.setKeyData(testStringA);
// test copy constructor and comparison
- GrBinHashKey<BogusEntry, kDataLenUsedForKey> keyA2(keyA);
+ GrTBinHashKey<BogusEntry, kDataLenUsedForKey> keyA2(keyA);
GrAssert(keyA.compare(keyA2) == 0);
GrAssert(keyA.getHash() == keyA2.getHash());
// test re-init
@@ -98,7 +98,7 @@ static void test_binHashKey()
GrAssert(keyA.compare(keyA2) == 0);
GrAssert(keyA.getHash() == keyA2.getHash());
// test sorting
- GrBinHashKey<BogusEntry, kDataLenUsedForKey> keyB;
+ GrTBinHashKey<BogusEntry, kDataLenUsedForKey> keyB;
keyB.setKeyData(testStringB);
GrAssert(keyA.compare(keyB) < 0);
GrAssert(keyA.getHash() != keyB.getHash());