| Index: include/core/SkTypeface.h
|
| diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h
|
| index a314e0fffb61dd8babfa73d1227027dccd327ec1..d34854d329fa6ab33c686c6b5de480fee5483511 100644
|
| --- a/include/core/SkTypeface.h
|
| +++ b/include/core/SkTypeface.h
|
| @@ -85,7 +85,7 @@ public:
|
| * Returns a ref() to the default typeface. The caller must call unref()
|
| * when they are done referencing the object. Never returns NULL.
|
| */
|
| - static SkTypeface* RefDefault();
|
| + static SkTypeface* RefDefault(Style style = SkTypeface::kNormal);
|
|
|
| /** Return a new reference to the typeface that most closely matches the
|
| requested familyName and style. Pass null as the familyName to return
|
| @@ -222,7 +222,7 @@ protected:
|
| void setIsFixedPitch(bool isFixedPitch) { fIsFixedPitch = isFixedPitch; }
|
|
|
| friend class SkScalerContext;
|
| - static SkTypeface* GetDefaultTypeface();
|
| + static SkTypeface* GetDefaultTypeface(Style style = SkTypeface::kNormal);
|
|
|
| virtual SkScalerContext* onCreateScalerContext(const SkDescriptor*) const = 0;
|
| virtual void onFilterRec(SkScalerContextRec*) const = 0;
|
|
|