From 050be74e6d614bed6df60428a723be3dd4947f96 Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Tue, 16 Oct 2018 15:35:32 -0400 Subject: [PATCH] remove unused SK_SUPPORT_LEGACY_TEXT_BLOB Bug: skia: Change-Id: I07a6b04ceb0e5a69d0b80ecf43abed13e51fcd5e Reviewed-on: https://skia-review.googlesource.com/c/162747 Reviewed-by: Herb Derby Auto-Submit: Mike Reed Commit-Queue: Mike Reed --- src/core/SkBitmapDevice.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp index 41ffaf1207..8010bc2b3f 100644 --- a/src/core/SkBitmapDevice.cpp +++ b/src/core/SkBitmapDevice.cpp @@ -563,19 +563,7 @@ void SkBitmapDevice::drawSprite(const SkBitmap& bitmap, int x, int y, const SkPa } void SkBitmapDevice::drawGlyphRunList(const SkGlyphRunList& glyphRunList) { -#if defined(SK_SUPPORT_LEGACY_TEXT_BLOB) - auto blob = glyphRunList.blob(); - - if (blob == nullptr) { - glyphRunList.temporaryShuntToDrawPosText(this, SkPoint::Make(0, 0)); - } else { - auto origin = glyphRunList.origin(); - auto paint = glyphRunList.paint(); - this->drawTextBlob(blob, origin.x(), origin.y(), paint); - } -#else LOOP_TILER( drawGlyphRunList(glyphRunList, &fGlyphPainter), nullptr ) -#endif } void SkBitmapDevice::drawVertices(const SkVertices* vertices, const SkVertices::Bone bones[],