aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ports/SkTypeface_android.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ports/SkTypeface_android.h')
-rw-r--r--include/ports/SkTypeface_android.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/ports/SkTypeface_android.h b/include/ports/SkTypeface_android.h
index e87fa4805a..0d89736e7e 100644
--- a/include/ports/SkTypeface_android.h
+++ b/include/ports/SkTypeface_android.h
@@ -9,6 +9,8 @@
#ifndef SkTypeface_android_DEFINED
#define SkTypeface_android_DEFINED
+#ifdef SK_BUILD_FOR_ANDROID
+
#include "SkTypeface.h"
/**
@@ -39,6 +41,8 @@ SK_API void SkUseTestFontConfigFile(const char* mainconf, const char* fallbackco
* get the 3rd can still inspect the original, and try to match its
* stylistic attributes.
*/
-SkTypeface* SkAndroidNextLogicalTypeface(SkFontID currFontID, SkFontID origFontID);
+SkTypeface* SkAndroidNextLogicalTypeface(SkFontID currFontID, SkFontID origFontID,
+ const SkPaintOptionsAndroid& options);
-#endif
+#endif // #ifdef SK_BUILD_FOR_ANDROID
+#endif // #ifndef SkTypeface_android_DEFINED