| Index: include/core/SkPaint.h
|
| diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
|
| index b2be5041f7f6a9c9d656ac43b0dcddb7df723a10..7367fc642deb7bf3a5b4d4c315ba9fc635188830 100644
|
| --- a/include/core/SkPaint.h
|
| +++ b/include/core/SkPaint.h
|
| @@ -30,6 +30,7 @@ class SkPath;
|
| class SkPathEffect;
|
| struct SkPoint;
|
| class SkRasterizer;
|
| +struct SkScalerContextEffects;
|
| class SkShader;
|
| class SkSurfaceProps;
|
| class SkTypeface;
|
| @@ -1099,7 +1100,8 @@ private:
|
| * Allocs an SkDescriptor on the heap and return it to the caller as a refcnted
|
| * SkData. Caller is responsible for managing the lifetime of this object.
|
| */
|
| - void getScalerContextDescriptor(SkAutoDescriptor*, const SkSurfaceProps& surfaceProps,
|
| + void getScalerContextDescriptor(SkScalerContextEffects*, SkAutoDescriptor*,
|
| + const SkSurfaceProps& surfaceProps,
|
| uint32_t scalerContextFlags, const SkMatrix*) const;
|
|
|
| SkGlyphCache* detachCache(const SkSurfaceProps* surfaceProps, uint32_t scalerContextFlags,
|
| @@ -1107,7 +1109,8 @@ private:
|
|
|
| void descriptorProc(const SkSurfaceProps* surfaceProps, uint32_t scalerContextFlags,
|
| const SkMatrix* deviceMatrix,
|
| - void (*proc)(SkTypeface*, const SkDescriptor*, void*),
|
| + void (*proc)(SkTypeface*, const SkScalerContextEffects&,
|
| + const SkDescriptor*, void*),
|
| void* context) const;
|
|
|
| /*
|
|
|