| Index: include/core/SkShader.h
|
| diff --git a/include/core/SkShader.h b/include/core/SkShader.h
|
| index 6effe797f750d767f985ec331adaa8d3ba09cab5..0fbc1b8bd62ae88185ab536177199eb5759e4ff3 100644
|
| --- a/include/core/SkShader.h
|
| +++ b/include/core/SkShader.h
|
| @@ -20,7 +20,7 @@ class SkPath;
|
| class SkPicture;
|
| class SkXfermode;
|
| class GrContext;
|
| -class GrEffect;
|
| +class GrFragmentProcessor;
|
|
|
| /** \class SkShader
|
| *
|
| @@ -385,9 +385,8 @@ public:
|
| * The GrContext may be used by the effect to create textures. The GPU device does not
|
| * call createContext. Instead we pass the SkPaint here in case the shader needs paint info.
|
| */
|
| - virtual bool asNewEffect(GrContext* context, const SkPaint& paint,
|
| - const SkMatrix* localMatrixOrNull, GrColor* paintColor,
|
| - GrEffect** effect) const;
|
| + virtual bool asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix*, GrColor*,
|
| + GrFragmentProcessor**) const;
|
|
|
| /**
|
| * If the shader can represent its "average" luminance in a single color, return true and
|
|
|