| Index: src/core/SkColorShader.h
|
| diff --git a/src/core/SkColorShader.h b/src/core/SkColorShader.h
|
| index e0247186230ab14c913559e30e76de44c15f50d7..9fbd5e1e8e2a4883c677e02ca930ee66bf6f7ea1 100644
|
| --- a/src/core/SkColorShader.h
|
| +++ b/src/core/SkColorShader.h
|
| @@ -23,9 +23,9 @@ public:
|
| */
|
| explicit SkColorShader(SkColor c);
|
|
|
| - virtual bool isOpaque() const SK_OVERRIDE;
|
| + bool isOpaque() const SK_OVERRIDE;
|
|
|
| - virtual size_t contextSize() const SK_OVERRIDE {
|
| + size_t contextSize() const SK_OVERRIDE {
|
| return sizeof(ColorShaderContext);
|
| }
|
|
|
| @@ -33,11 +33,11 @@ public:
|
| public:
|
| ColorShaderContext(const SkColorShader& shader, const ContextRec&);
|
|
|
| - virtual uint32_t getFlags() const SK_OVERRIDE;
|
| - virtual uint8_t getSpan16Alpha() const SK_OVERRIDE;
|
| - virtual void shadeSpan(int x, int y, SkPMColor span[], int count) SK_OVERRIDE;
|
| - virtual void shadeSpan16(int x, int y, uint16_t span[], int count) SK_OVERRIDE;
|
| - virtual void shadeSpanAlpha(int x, int y, uint8_t alpha[], int count) SK_OVERRIDE;
|
| + uint32_t getFlags() const SK_OVERRIDE;
|
| + uint8_t getSpan16Alpha() const SK_OVERRIDE;
|
| + void shadeSpan(int x, int y, SkPMColor span[], int count) SK_OVERRIDE;
|
| + void shadeSpan16(int x, int y, uint16_t span[], int count) SK_OVERRIDE;
|
| + void shadeSpanAlpha(int x, int y, uint8_t alpha[], int count) SK_OVERRIDE;
|
|
|
| private:
|
| SkPMColor fPMColor;
|
| @@ -52,7 +52,7 @@ public:
|
| SkMatrix* outMatrix,
|
| TileMode xy[2]) const SK_OVERRIDE;
|
|
|
| - virtual GradientType asAGradient(GradientInfo* info) const SK_OVERRIDE;
|
| + GradientType asAGradient(GradientInfo* info) const SK_OVERRIDE;
|
|
|
| virtual bool asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix& viewM,
|
| const SkMatrix*, GrColor*,
|
| @@ -63,9 +63,9 @@ public:
|
|
|
| protected:
|
| SkColorShader(SkReadBuffer&);
|
| - virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE;
|
| - virtual Context* onCreateContext(const ContextRec&, void* storage) const SK_OVERRIDE;
|
| - virtual bool onAsLuminanceColor(SkColor* lum) const SK_OVERRIDE {
|
| + void flatten(SkWriteBuffer&) const SK_OVERRIDE;
|
| + Context* onCreateContext(const ContextRec&, void* storage) const SK_OVERRIDE;
|
| + bool onAsLuminanceColor(SkColor* lum) const SK_OVERRIDE {
|
| *lum = fColor;
|
| return true;
|
| }
|
|
|