Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@12427 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/HashCacheTest.cpp b/tests/HashCacheTest.cpp
index 1a5c470..bd28c44 100644
--- a/tests/HashCacheTest.cpp
+++ b/tests/HashCacheTest.cpp
@@ -39,18 +39,21 @@
uint32_t getHash() const { return fKey; }
- static bool LessThan(const HashElement& entry, const HashKey& key) {
+ static bool LT(const HashElement& entry, const HashKey& key) {
return entry.fKey < key.fKey;
}
- static bool Equals(const HashElement& entry, const HashKey& key) {
+ static bool EQ(const HashElement& entry, const HashKey& key) {
return entry.fKey == key.fKey;
}
#ifdef SK_DEBUG
- static bool LessThan(const HashElement& a, const HashElement& b) {
+ static uint32_t GetHash(const HashElement& entry) {
+ return entry.fKey;
+ }
+ static bool LT(const HashElement& a, const HashElement& b) {
return a.fKey < b.fKey;
}
- static bool Equals(const HashElement& a, const HashElement& b) {
+ static bool EQ(const HashElement& a, const HashElement& b) {
return a.fKey == b.fKey;
}
#endif