diff options
Diffstat (limited to 'gm/shallowgradient.cpp')
-rw-r--r-- | gm/shallowgradient.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gm/shallowgradient.cpp b/gm/shallowgradient.cpp index a2b29d37ed..6cd2ed61f4 100644 --- a/gm/shallowgradient.cpp +++ b/gm/shallowgradient.cpp @@ -42,22 +42,22 @@ public: } protected: - virtual uint32_t onGetFlags() const SK_OVERRIDE { + uint32_t onGetFlags() const SK_OVERRIDE { if (fName.contains("linear") || fName.contains("radial")) { return kSkipTiled_Flag; } return 0; } - virtual SkString onShortName() SK_OVERRIDE { + SkString onShortName() SK_OVERRIDE { return fName; } - virtual SkISize onISize() SK_OVERRIDE { + SkISize onISize() SK_OVERRIDE { return SkISize::Make(800, 800); } - virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { + void onDraw(SkCanvas* canvas) SK_OVERRIDE { const SkColor colors[] = { 0xFF555555, 0xFF444444 }; const int colorCount = SK_ARRAY_COUNT(colors); |