| Index: include/core/SkImageFilter.h
|
| diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h
|
| index 3508df50ce81d43d6193e6e69f97587462593852..e0e97b0ad2b91ec1528a9e84fb209b38d6d55188 100644
|
| --- a/include/core/SkImageFilter.h
|
| +++ b/include/core/SkImageFilter.h
|
| @@ -80,21 +80,17 @@ public:
|
|
|
| class Proxy {
|
| public:
|
| - Proxy(SkBaseDevice* device, const SkSurfaceProps& props)
|
| - : fDevice(device)
|
| - , fProps(props.flags(), kUnknown_SkPixelGeometry)
|
| - {}
|
| + Proxy(SkBaseDevice* device) : fDevice(device) { }
|
|
|
| SkBaseDevice* createDevice(int width, int height);
|
| - // returns true if the proxy handled the filter itself. if this returns
|
| +
|
| + // Returns true if the proxy handled the filter itself. If this returns
|
| // false then the filter's code will be called.
|
| bool filterImage(const SkImageFilter*, const SkBitmap& src, const SkImageFilter::Context&,
|
| SkBitmap* result, SkIPoint* offset);
|
| - const SkSurfaceProps& surfaceProps() const { return fProps; }
|
| -
|
| +
|
| private:
|
| - SkBaseDevice* fDevice;
|
| - const SkSurfaceProps fProps;
|
| + SkBaseDevice* fDevice;
|
| };
|
|
|
|
|
|
|