aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkBitmapDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkBitmapDevice.cpp')
-rw-r--r--src/core/SkBitmapDevice.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp
index cb169dca87..94a4ddcd0d 100644
--- a/src/core/SkBitmapDevice.cpp
+++ b/src/core/SkBitmapDevice.cpp
@@ -572,7 +572,7 @@ void SkBitmapDevice::drawPosText(const void* text, size_t len, const SkScalar xp
}
void SkBitmapDevice::drawGlyphRunList(SkGlyphRunList* glyphRunList) {
-#ifdef SK_SUPPORT_LEGACY_TEXT_BLOB
+#if defined(SK_SUPPORT_LEGACY_TEXT_BLOB)
auto blob = glyphRunList->blob();
if (blob == nullptr) {
@@ -583,7 +583,8 @@ void SkBitmapDevice::drawGlyphRunList(SkGlyphRunList* glyphRunList) {
this->drawTextBlob(blob, origin.x(), origin.y(), paint);
}
#else
- glyphRunList->temporaryShuntToDrawPosText(this, glyphRunList->origin());
+ SkBitmapDeviceFilteredSurfaceProps props(fBitmap, glyphRunList->paint(), fSurfaceProps);
+ LOOP_TILER( drawGlyphRunList(glyphRunList, &props()), nullptr )
#endif
}