Index: src/core/SkPictureCommon.h |
diff --git a/src/core/SkPictureCommon.h b/src/core/SkPictureCommon.h |
index 6e95b296e0a6a2105cc53387b81b6deca0ab47d2..16146be020a21db392b0a8f31309bf318a4a99f2 100644 |
--- a/src/core/SkPictureCommon.h |
+++ b/src/core/SkPictureCommon.h |
@@ -14,18 +14,6 @@ |
#include "SkRecords.h" |
#include "SkTLogic.h" |
-struct SkTextHunter { |
- // Most ops never have text. Some always do. Subpictures know themeselves. |
- bool operator()(const SkRecords::DrawPicture& op) { return op.picture->hasText(); } |
- bool operator()(const SkRecords::DrawDrawable&) { /*TODO*/ return false; } |
- |
- template <typename T> |
- SK_WHEN(T::kTags & SkRecords::kHasText_Tag, bool) operator()(const T&) { return true; } |
- template <typename T> |
- SK_WHEN(!(T::kTags & SkRecords::kHasText_Tag), bool) operator()(const T&) { return false; } |
-}; |
- |
- |
// N.B. This name is slightly historical: hunting season is now open for SkImages too. |
struct SkBitmapHunter { |
// Some ops have a paint, some have an optional paint. Either way, get back a pointer. |