Index: gm/polygons.cpp |
diff --git a/gm/polygons.cpp b/gm/polygons.cpp |
index 1d639780fd8f0be4dddfbfe8762bc006457d084e..e8d85040d27095d296ff113fe7d7382d77d51bc8 100644 |
--- a/gm/polygons.cpp |
+++ b/gm/polygons.cpp |
@@ -22,22 +22,22 @@ public: |
PolygonsGM() {} |
protected: |
- virtual uint32_t onGetFlags() const SK_OVERRIDE { |
+ uint32_t onGetFlags() const SK_OVERRIDE { |
return kSkipTiled_Flag; |
} |
- virtual SkString onShortName() SK_OVERRIDE { |
+ SkString onShortName() SK_OVERRIDE { |
return SkString("polygons"); |
} |
- virtual SkISize onISize() SK_OVERRIDE { |
+ SkISize onISize() SK_OVERRIDE { |
int width = kNumPolygons * kCellSize + 40; |
int height = (kNumJoins * kNumStrokeWidths + kNumExtraStyles) * kCellSize + 40; |
return SkISize::Make(width, height); |
} |
// Construct all polygons |
- virtual void onOnceBeforeDraw() SK_OVERRIDE { |
+ void onOnceBeforeDraw() SK_OVERRIDE { |
SkPoint p0[] = {{0, 0}, {60, 0}, {90, 40}}; // triangle |
SkPoint p1[] = {{0, 0}, {0, 40}, {60, 40}, {40, 0}}; // trapezoid |
SkPoint p2[] = {{0, 0}, {40, 40}, {80, 40}, {40, 0}}; // diamond |
@@ -97,7 +97,7 @@ protected: |
} |
} |
- virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
+ void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
// Stroke widths are: |
// 0(may use hairline rendering), 10(common case for stroke-style) |
// 40(>= geometry width/height, make the contour filled in fact) |