aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkTypeface_remote.h
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2018-07-13 13:26:29 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-16 17:42:19 +0000
commitb983e6baa1db462a047e14ed83be759f2361838c (patch)
treeaa635035b8c573f2e93d3d38a723ea2d46028405 /src/core/SkTypeface_remote.h
parentb965fcb47296870643d001acb4a43cec3d88579a (diff)
Device interface uses glyph run list
Have devices just treat all runs as drawPosText except for SkGPUDevice and SkRemoteGlyphCache. Those two just pass the blob to the old code. This way the change over from blobs to run lists can happen in smaller steps. Change-Id: I3407bffeafe7fbd1c369f6b3c3db8d64b4b6c3b1 Reviewed-on: https://skia-review.googlesource.com/141300 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'src/core/SkTypeface_remote.h')
-rw-r--r--src/core/SkTypeface_remote.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/SkTypeface_remote.h b/src/core/SkTypeface_remote.h
index c751745b0f..74dbb4d124 100644
--- a/src/core/SkTypeface_remote.h
+++ b/src/core/SkTypeface_remote.h
@@ -129,8 +129,7 @@ protected:
return 0;
}
int onCountGlyphs() const override {
- SK_ABORT("Should never be called.");
- return 0;
+ return this->glyphCount();
}
void* onGetCTFontRef() const override {