aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkDevice.cpp')
-rw-r--r--src/core/SkDevice.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp
index 60f8cd861f..b94d7e97cf 100644
--- a/src/core/SkDevice.cpp
+++ b/src/core/SkDevice.cpp
@@ -240,15 +240,7 @@ void SkBaseDevice::drawImageLattice(const SkImage* image,
}
void SkBaseDevice::drawGlyphRunList(SkGlyphRunList* glyphRunList) {
- 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);
- }
+ glyphRunList->temporaryShuntToDrawPosText(this, SkPoint::Make(0, 0));
}
void SkBaseDevice::drawBitmapLattice(const SkBitmap& bitmap,