Index: src/fonts/SkGScalerContext.cpp |
diff --git a/src/fonts/SkGScalerContext.cpp b/src/fonts/SkGScalerContext.cpp |
index 34a788a9c99b6f9dffa2e40937cc3d89eb5aa5b0..cacc27064f93ebec17cdebaa476bfc8c00bf03cb 100644 |
--- a/src/fonts/SkGScalerContext.cpp |
+++ b/src/fonts/SkGScalerContext.cpp |
@@ -158,7 +158,7 @@ void SkGScalerContext::generateFontMetrics(SkPaint::FontMetrics* metrics) { |
#include "SkTypefaceCache.h" |
SkGTypeface::SkGTypeface(SkTypeface* proxy, const SkPaint& paint) |
- : SkTypeface(proxy->style(), SkTypefaceCache::NewFontID(), false) |
+ : SkTypeface(proxy->fontStyle(), SkTypefaceCache::NewFontID(), false) |
, fProxy(SkRef(proxy)) |
, fPaint(paint) {} |