| Index: gm/filltypespersp.cpp
|
| diff --git a/gm/filltypespersp.cpp b/gm/filltypespersp.cpp
|
| index 21def99c511cfbd62167a3bf4ee94db7a76bc1fa..3fff059b2d2136d1dd71fd067d15c9ced829d846 100644
|
| --- a/gm/filltypespersp.cpp
|
| +++ b/gm/filltypespersp.cpp
|
| @@ -28,17 +28,16 @@ protected:
|
| return kSkipTiled_Flag;
|
| }
|
|
|
| - virtual SkString onShortName() {
|
| + virtual SkString onShortName() SK_OVERRIDE {
|
| return SkString("filltypespersp");
|
| }
|
|
|
| - virtual SkISize onISize() {
|
| + virtual SkISize onISize() SK_OVERRIDE {
|
| return SkISize::Make(835, 840);
|
| }
|
|
|
| void showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft,
|
| SkScalar scale, const SkPaint& paint) {
|
| -
|
| const SkRect r = { 0, 0, SkIntToScalar(150), SkIntToScalar(150) };
|
|
|
| canvas->save();
|
| @@ -54,7 +53,6 @@ protected:
|
| }
|
|
|
| void showFour(SkCanvas* canvas, SkScalar scale, bool aa) {
|
| -
|
| SkPaint paint;
|
| SkPoint center = SkPoint::Make(SkIntToScalar(100), SkIntToScalar(100));
|
| SkColor colors[] = {SK_ColorBLUE, SK_ColorRED, SK_ColorGREEN};
|
| @@ -78,7 +76,7 @@ protected:
|
| scale, paint);
|
| }
|
|
|
| - virtual void onDraw(SkCanvas* canvas) {
|
| + virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
|
| this->makePath();
|
|
|
| // do perspective drawPaint as the background;
|
|
|