aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects
diff options
context:
space:
mode:
authorGravatar senorblanco <senorblanco@chromium.org>2015-03-19 13:39:19 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-19 13:39:19 -0700
commit6c1b3388275ab30c26ef0cd1ff21076fab0888a5 (patch)
tree33088d0ae68ef7516a60dad32da915a77a2f3ad7 /include/effects
parent89c2a540a39d5b8bf50ee5395fe4848168270f4c (diff)
Remove now-unused uniqueID param from SkDropShadowImageFilter::Create().
Also make both input & crop rect default NULL, as in other filter Create functions. BUG=skia: Review URL: https://codereview.chromium.org/1016343002
Diffstat (limited to 'include/effects')
-rw-r--r--include/effects/SkDropShadowImageFilter.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/effects/SkDropShadowImageFilter.h b/include/effects/SkDropShadowImageFilter.h
index 759f65e476..ed8757f639 100644
--- a/include/effects/SkDropShadowImageFilter.h
+++ b/include/effects/SkDropShadowImageFilter.h
@@ -33,20 +33,12 @@ public:
static SkDropShadowImageFilter* Create(SkScalar dx, SkScalar dy,
SkScalar sigmaX, SkScalar sigmaY, SkColor color,
ShadowMode shadowMode,
- SkImageFilter* input,
- const CropRect* cropRect,
- uint32_t = 0) {
+ SkImageFilter* input = NULL,
+ const CropRect* cropRect = NULL) {
return SkNEW_ARGS(SkDropShadowImageFilter, (dx, dy, sigmaX, sigmaY, color,
shadowMode, input, cropRect));
}
- static SkDropShadowImageFilter* Create(SkScalar dx, SkScalar dy,
- SkScalar sigmaX, SkScalar sigmaY, SkColor color,
- ShadowMode shadowMode) {
- return SkNEW_ARGS(SkDropShadowImageFilter, (dx, dy, sigmaX, sigmaY, color,
- shadowMode, NULL, NULL));
- }
-
void computeFastBounds(const SkRect&, SkRect*) const SK_OVERRIDE;
SK_TO_STRING_OVERRIDE()
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkDropShadowImageFilter)