| Index: include/core/SkImage.h
|
| diff --git a/include/core/SkImage.h b/include/core/SkImage.h
|
| index c9f93961668482cd4dee3122dd99013c857f04b9..54ef9f44e902c72601c8d3ec94ef027f80022712 100644
|
| --- a/include/core/SkImage.h
|
| +++ b/include/core/SkImage.h
|
| @@ -12,17 +12,14 @@
|
| #include "SkImageEncoder.h"
|
| #include "SkRefCnt.h"
|
| #include "SkScalar.h"
|
| +#include "SkShader.h"
|
|
|
| class SkData;
|
| class SkCanvas;
|
| class SkPaint;
|
| -class SkShader;
|
| class GrContext;
|
| class GrTexture;
|
|
|
| -// need for TileMode
|
| -#include "SkShader.h"
|
| -
|
| /**
|
| * SkImage is an abstraction for drawing a rectagle of pixels, though the
|
| * particular type of image could be actually storing its data on the GPU, or
|
| @@ -61,8 +58,7 @@ public:
|
| */
|
| GrTexture* getTexture();
|
|
|
| - SkShader* newShaderClamp() const;
|
| - SkShader* newShader(SkShader::TileMode, SkShader::TileMode) const;
|
| + virtual SkShader* newShader(SkShader::TileMode, SkShader::TileMode) const;
|
|
|
| void draw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*);
|
|
|
|
|