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