aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkTextBlob.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkTextBlob.h')
-rw-r--r--include/core/SkTextBlob.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/core/SkTextBlob.h b/include/core/SkTextBlob.h
index 2fe852c762..05b3c5fd68 100644
--- a/include/core/SkTextBlob.h
+++ b/include/core/SkTextBlob.h
@@ -17,11 +17,6 @@
class SkReadBuffer;
class SkWriteBuffer;
-#ifdef SK_SUPPORT_LEGACY_TEXTBLOB_SERIAL_API
-typedef std::function<void(SkTypeface*)> SkTypefaceCataloger;
-typedef std::function<sk_sp<SkTypeface>(uint32_t)> SkTypefaceResolver;
-#endif
-
typedef void (*SkTypefaceCatalogerProc)(SkTypeface*, void* ctx);
typedef sk_sp<SkTypeface> (*SkTypefaceResolverProc)(uint32_t id, void* ctx);
@@ -80,11 +75,6 @@ public:
static sk_sp<SkTextBlob> Deserialize(const void* data, size_t size,
SkTypefaceResolverProc, void* ctx);
-#ifdef SK_SUPPORT_LEGACY_TEXTBLOB_SERIAL_API
- sk_sp<SkData> serialize(const SkTypefaceCataloger&) const;
- static sk_sp<SkTextBlob> Deserialize(const void* data, size_t size, const SkTypefaceResolver&);
-#endif
-
private:
friend class SkNVRefCnt<SkTextBlob>;
class RunRecord;