Index: src/gpu/effects/GrTextureStripAtlas.cpp |
diff --git a/src/gpu/effects/GrTextureStripAtlas.cpp b/src/gpu/effects/GrTextureStripAtlas.cpp |
index f726b25cf90b3428fc2656cc005c8b2075859df2..8e9e1556c76bd656b4175d68e1573762d57895bf 100644 |
--- a/src/gpu/effects/GrTextureStripAtlas.cpp |
+++ b/src/gpu/effects/GrTextureStripAtlas.cpp |
@@ -273,11 +273,12 @@ void GrTextureStripAtlas::removeFromLRU(AtlasRow* row) { |
int GrTextureStripAtlas::searchByKey(uint32_t key) { |
AtlasRow target; |
target.fKey = key; |
- return SkTSearch<AtlasRow, GrTextureStripAtlas::compareKeys>((const AtlasRow**)fKeyTable.begin(), |
- fKeyTable.count(), |
- &target, |
- sizeof(AtlasRow*)); |
-} |
+ return SkTSearch<const AtlasRow, |
+ GrTextureStripAtlas::KeyLess>((const AtlasRow**)fKeyTable.begin(), |
+ fKeyTable.count(), |
+ &target, |
+ sizeof(AtlasRow*)); |
+} |
#ifdef SK_DEBUG |
void GrTextureStripAtlas::validate() { |