aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/SkTypeface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkTypeface.cpp b/src/core/SkTypeface.cpp
index 58d7c52979..1afcfd08f5 100644
--- a/src/core/SkTypeface.cpp
+++ b/src/core/SkTypeface.cpp
@@ -366,5 +366,6 @@ bool SkTypeface::onComputeBounds(SkRect* bounds) const {
}
std::unique_ptr<SkAdvancedTypefaceMetrics> SkTypeface::onGetAdvancedMetrics() const {
+ SkDEBUGFAIL("Typefaces that need to work with PDF backend must override this.");
return nullptr;
}