Index: include/effects/SkLightingImageFilter.h |
diff --git a/include/effects/SkLightingImageFilter.h b/include/effects/SkLightingImageFilter.h |
index 9c90cd949bc2f94718befdadf6d945f37dbc7c30..529ae9d620a13743d81c07cda57a9716d27215e2 100644 |
--- a/include/effects/SkLightingImageFilter.h |
+++ b/include/effects/SkLightingImageFilter.h |
@@ -52,24 +52,24 @@ class SK_API SkLightingImageFilter : public SkImageFilter { |
public: |
static SkImageFilter* CreateDistantLitDiffuse(const SkPoint3& direction, |
SkColor lightColor, SkScalar surfaceScale, SkScalar kd, |
- SkImageFilter* input = NULL, const SkIRect* cropRect = NULL); |
+ SkImageFilter* input = NULL, const CropRect* cropRect = NULL); |
static SkImageFilter* CreatePointLitDiffuse(const SkPoint3& location, |
SkColor lightColor, SkScalar surfaceScale, SkScalar kd, |
- SkImageFilter* input = NULL, const SkIRect* cropRect = NULL); |
+ SkImageFilter* input = NULL, const CropRect* cropRect = NULL); |
static SkImageFilter* CreateSpotLitDiffuse(const SkPoint3& location, |
const SkPoint3& target, SkScalar specularExponent, SkScalar cutoffAngle, |
SkColor lightColor, SkScalar surfaceScale, SkScalar kd, |
- SkImageFilter* input = NULL, const SkIRect* cropRect = NULL); |
+ SkImageFilter* input = NULL, const CropRect* cropRect = NULL); |
static SkImageFilter* CreateDistantLitSpecular(const SkPoint3& direction, |
SkColor lightColor, SkScalar surfaceScale, SkScalar ks, |
- SkScalar shininess, SkImageFilter* input = NULL, const SkIRect* cropRect = NULL); |
+ SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL); |
static SkImageFilter* CreatePointLitSpecular(const SkPoint3& location, |
SkColor lightColor, SkScalar surfaceScale, SkScalar ks, |
- SkScalar shininess, SkImageFilter* input = NULL, const SkIRect* cropRect = NULL); |
+ SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL); |
static SkImageFilter* CreateSpotLitSpecular(const SkPoint3& location, |
const SkPoint3& target, SkScalar specularExponent, SkScalar cutoffAngle, |
SkColor lightColor, SkScalar surfaceScale, SkScalar ks, |
- SkScalar shininess, SkImageFilter* input = NULL, const SkIRect* cropRect = NULL); |
+ SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL); |
~SkLightingImageFilter(); |
SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() |
@@ -78,7 +78,7 @@ protected: |
SkLightingImageFilter(SkLight* light, |
SkScalar surfaceScale, |
SkImageFilter* input, |
- const SkIRect* cropRect = NULL); |
+ const CropRect* cropRect = NULL); |
explicit SkLightingImageFilter(SkFlattenableReadBuffer& buffer); |
virtual void flatten(SkFlattenableWriteBuffer&) const SK_OVERRIDE; |
const SkLight* light() const { return fLight; } |