Index: include/core/SkFontStyle.h |
diff --git a/include/core/SkFontStyle.h b/include/core/SkFontStyle.h |
index c18f956e94ce5733dbf755e348c7a2e7900f5877..f4ffbb9675f1c4ca5692b006a9664a2b0b4b302d 100644 |
--- a/include/core/SkFontStyle.h |
+++ b/include/core/SkFontStyle.h |
@@ -39,6 +39,7 @@ public: |
enum Slant { |
kUpright_Slant, |
kItalic_Slant, |
+ kOblique_Slant, |
}; |
SkFontStyle(); |
@@ -54,10 +55,6 @@ public: |
int width() const { return fUnion.fR.fWidth; } |
Slant slant() const { return (Slant)fUnion.fR.fSlant; } |
- bool isItalic() const { |
- return kItalic_Slant == fUnion.fR.fSlant; |
- } |
- |
private: |
union { |
struct { |