aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkTextBlob.h
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-11-15 15:58:43 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-16 16:30:52 +0000
commit47f6029d3dc5ee9e484931a13a14dcbe9d3f23d3 (patch)
tree828933a1ce7338658b4f65d611983dc0f8e7896a /include/core/SkTextBlob.h
parent24f9c19172e149602551cd6716b3cc264c1d40ef (diff)
remove legacy Create from SkTextBlob
Bug: skia: Change-Id: I8814ac9fb6bf75b5113bd78e140adadde57d3898 Reviewed-on: https://skia-review.googlesource.com/72121 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core/SkTextBlob.h')
-rw-r--r--include/core/SkTextBlob.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/core/SkTextBlob.h b/include/core/SkTextBlob.h
index e15bf918a8..4457c8f358 100644
--- a/include/core/SkTextBlob.h
+++ b/include/core/SkTextBlob.h
@@ -50,10 +50,6 @@ public:
*/
static sk_sp<SkTextBlob> MakeFromBuffer(SkReadBuffer&);
- static const SkTextBlob* CreateFromBuffer(SkReadBuffer& buffer) {
- return MakeFromBuffer(buffer).release();
- }
-
enum GlyphPositioning : uint8_t {
kDefault_Positioning = 0, // Default glyph advances -- zero scalars per glyph.
kHorizontal_Positioning = 1, // Horizontal positioning -- one scalar per glyph.