Remove now-unused uniqueID param from SkDropShadowImageFilter::Create().
authorsenorblanco <senorblanco@chromium.org>
Thu, 19 Mar 2015 20:39:19 +0000 (13:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 19 Mar 2015 20:39:19 +0000 (13:39 -0700)
Also make both input & crop rect default NULL, as in other filter Create functions.

BUG=skia:

Review URL: https://codereview.chromium.org/1016343002

include/effects/SkDropShadowImageFilter.h

index 759f65e476d063eb830ee8948975e20fce9b9062..ed8757f6394e7885406a4f074b81cfa9f42e3062 100644 (file)
@@ -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)