Index: include/core/SkTypeface.h |
diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h |
index 0b1ca6a4bdaf02c231fa61fe2e62a68f24b94672..564ac40a5eb175fa905f402ed3933cfcd4c3cb73 100644 |
--- a/include/core/SkTypeface.h |
+++ b/include/core/SkTypeface.h |
@@ -1,4 +1,3 @@ |
- |
/* |
* Copyright 2006 The Android Open Source Project |
* |
@@ -6,7 +5,6 @@ |
* found in the LICENSE file. |
*/ |
- |
#ifndef SkTypeface_DEFINED |
#define SkTypeface_DEFINED |
@@ -21,6 +19,7 @@ class SkFontData; |
class SkFontDescriptor; |
class SkScalerContext; |
struct SkScalerContextRec; |
+struct SkScalerContextEffects; |
class SkStream; |
class SkStreamAsset; |
class SkAdvancedTypefaceMetrics; |
@@ -336,7 +335,8 @@ protected: |
friend class SkScalerContext; |
static SkTypeface* GetDefaultTypeface(Style style = SkTypeface::kNormal); |
- virtual SkScalerContext* onCreateScalerContext(const SkDescriptor*) const = 0; |
+ virtual SkScalerContext* onCreateScalerContext(const SkScalerContextEffects&, |
+ const SkDescriptor*) const = 0; |
virtual void onFilterRec(SkScalerContextRec*) const = 0; |
virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( |
PerGlyphInfo, |