Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Unified Diff: src/core/SkPtrRecorder.h

Issue 15070011: One SkTSearch to rule them all. Allow key to be of different type than the array. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: fixes to compile on gcc Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkPictureFlat.h ('k') | src/core/SkPtrRecorder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPtrRecorder.h
diff --git a/src/core/SkPtrRecorder.h b/src/core/SkPtrRecorder.h
index 0e7ac665488ae6ecb0913202716228c2f8922411..06e14ab6ec03de555e41a57274deec4424906afd 100644
--- a/src/core/SkPtrRecorder.h
+++ b/src/core/SkPtrRecorder.h
@@ -74,7 +74,7 @@ private:
// is not related to its "index".
SkTDArray<Pair> fList;
- static int Cmp(const Pair* a, const Pair* b);
+ static bool Less(const Pair& a, const Pair& b);
typedef SkRefCnt INHERITED;
};
« no previous file with comments | « src/core/SkPictureFlat.h ('k') | src/core/SkPtrRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698