Index: src/ports/SkFontMgr_android.cpp |
diff --git a/src/ports/SkFontMgr_android.cpp b/src/ports/SkFontMgr_android.cpp |
index bcf544cd43ff184a361535d6691b8bd3f4501bfb..2fee7356f1ea08c0f26cfe3c4f903d545898d804 100644 |
--- a/src/ports/SkFontMgr_android.cpp |
+++ b/src/ports/SkFontMgr_android.cpp |
@@ -49,9 +49,11 @@ public: |
, fIndex(index) |
, fFamilyName(familyName) { } |
- const SkString& name() const { return fFamilyName; } |
- |
protected: |
+ virtual void onGetFamilyName(SkString* familyName) const SK_OVERRIDE { |
+ *familyName = fFamilyName; |
+ } |
+ |
int fIndex; |
SkString fFamilyName; |