Index: src/fonts/SkTestScalerContext.cpp |
diff --git a/src/fonts/SkTestScalerContext.cpp b/src/fonts/SkTestScalerContext.cpp |
index ee379f0a3852afe6463980369bccff082100240a..b148375b0944806888de2290f997e3da45ff47bc 100644 |
--- a/src/fonts/SkTestScalerContext.cpp |
+++ b/src/fonts/SkTestScalerContext.cpp |
@@ -110,8 +110,8 @@ void SkTestFont::init(const SkScalar* pts, const unsigned char* verbs) { |
fPaths[index] = path; |
} |
} |
- |
-SkTestTypeface::SkTestTypeface(SkTestFont* testFont, SkTypeface::Style style) |
+ |
+SkTestTypeface::SkTestTypeface(SkTestFont* testFont, const SkFontStyle& style) |
: SkTypeface(style, SkTypefaceCache::NewFontID(), false) |
, fTestFont(testFont) { |
} |