aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/SkTypeface_remote.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/SkTypeface_remote.h b/src/core/SkTypeface_remote.h
index 47a68fd08d..1b4ad89025 100644
--- a/src/core/SkTypeface_remote.h
+++ b/src/core/SkTypeface_remote.h
@@ -83,7 +83,8 @@ protected:
return 0;
}
void onGetFamilyName(SkString* familyName) const override {
- SK_ABORT("Should never be called.");
+ // Used by SkStrikeCache::DumpMemoryStatistics.
+ *familyName = "";
}
SkTypeface::LocalizedStrings* onCreateFamilyNameIterator() const override {
SK_ABORT("Should never be called.");