| Index: include/effects/SkGradientShader.h
|
| diff --git a/include/effects/SkGradientShader.h b/include/effects/SkGradientShader.h
|
| index 8d1a93107d31672fcfc7c51e4c18b1bdc306a791..2d2fefe5cfd99ae3666795739927a39a18b3b60b 100644
|
| --- a/include/effects/SkGradientShader.h
|
| +++ b/include/effects/SkGradientShader.h
|
| @@ -58,7 +58,7 @@ public:
|
| #ifdef SK_SUPPORT_LEGACY_GRADIENT_FACTORIES
|
| static SkShader* CreateLinear(const SkPoint pts[2],
|
| const SkColor colors[], const SkScalar pos[], int count,
|
| - SkShader::TileMode mode, void* ignored,
|
| + SkShader::TileMode mode, void* /*ignored*/,
|
| uint32_t flags, const SkMatrix* localMatrix) {
|
| return CreateLinear(pts, colors, pos, count, mode, flags, localMatrix);
|
| }
|
| @@ -94,7 +94,7 @@ public:
|
| #ifdef SK_SUPPORT_LEGACY_GRADIENT_FACTORIES
|
| static SkShader* CreateRadial(const SkPoint& center, SkScalar radius,
|
| const SkColor colors[], const SkScalar pos[], int count,
|
| - SkShader::TileMode mode, void* ignored,
|
| + SkShader::TileMode mode, void* /*ignored*/,
|
| uint32_t flags, const SkMatrix* localMatrix) {
|
| return CreateRadial(center, radius, colors, pos, count, mode, flags, localMatrix);
|
| }
|
| @@ -137,7 +137,7 @@ public:
|
| static SkShader* CreateTwoPointRadial(const SkPoint& start, SkScalar startRadius,
|
| const SkPoint& end, SkScalar endRadius,
|
| const SkColor colors[], const SkScalar pos[], int count,
|
| - SkShader::TileMode mode, void* ignored,
|
| + SkShader::TileMode mode, void* /*ignored*/,
|
| uint32_t flags, const SkMatrix* localMatrix) {
|
| return CreateTwoPointRadial(start, startRadius, end, endRadius, colors, pos, count, mode,
|
| flags, localMatrix);
|
| @@ -168,7 +168,7 @@ public:
|
| static SkShader* CreateTwoPointConical(const SkPoint& start, SkScalar startRadius,
|
| const SkPoint& end, SkScalar endRadius,
|
| const SkColor colors[], const SkScalar pos[], int count,
|
| - SkShader::TileMode mode, void* ignored,
|
| + SkShader::TileMode mode, void* /*ignored*/,
|
| uint32_t flags, const SkMatrix* localMatrix) {
|
| return CreateTwoPointConical(start, startRadius, end, endRadius, colors, pos, count, mode,
|
| flags, localMatrix);
|
| @@ -202,7 +202,7 @@ public:
|
| #ifdef SK_SUPPORT_LEGACY_GRADIENT_FACTORIES
|
| static SkShader* CreateSweep(SkScalar cx, SkScalar cy,
|
| const SkColor colors[], const SkScalar pos[], int count,
|
| - void* ignored,
|
| + void* /*ignored*/,
|
| uint32_t flags, const SkMatrix* localMatrix) {
|
| return CreateSweep(cx, cy, colors, pos, count, flags, localMatrix);
|
| }
|
|
|