Index: src/fonts/SkGScalerContext.cpp |
=================================================================== |
--- src/fonts/SkGScalerContext.cpp (revision 12201) |
+++ src/fonts/SkGScalerContext.cpp (working copy) |
@@ -220,15 +220,6 @@ |
return fProxy->getTableData(tag, offset, length, data); |
} |
-SkTypeface* SkGTypeface::onRefMatchingStyle(Style style) const { |
- if (this->style() == style) { |
- return const_cast<SkGTypeface*>(SkRef(this)); |
- } |
- |
- SkAutoTUnref<SkTypeface> other(fProxy->refMatchingStyle(style)); |
- return SkNEW_ARGS(SkGTypeface, (other, fPaint)); |
-} |
- |
/////////////////////////////////////////////////////////////////////////////// |
#if 0 |