Index: src/gpu/effects/GrTextureStripAtlas.h |
diff --git a/src/gpu/effects/GrTextureStripAtlas.h b/src/gpu/effects/GrTextureStripAtlas.h |
index 9ac356b4ccec4dcdde4c7573437666ae0a4782f8..0148665a4c4b9ffeacac009fa5eeeefffcb99d51 100644 |
--- a/src/gpu/effects/GrTextureStripAtlas.h |
+++ b/src/gpu/effects/GrTextureStripAtlas.h |
@@ -120,8 +120,8 @@ private: |
/** |
* Compare two atlas rows by key, so we can sort/search by key |
*/ |
- static int compareKeys(const AtlasRow* lhs, const AtlasRow* rhs) { |
- return lhs->fKey - rhs->fKey; |
+ static bool KeyLess(const AtlasRow& lhs, const AtlasRow& rhs) { |
+ return lhs.fKey < rhs.fKey; |
} |
#ifdef SK_DEBUG |