diff options
Diffstat (limited to 'gm/gradtext.cpp')
-rw-r--r-- | gm/gradtext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/gradtext.cpp b/gm/gradtext.cpp index 87c3b38968..eeaff5665f 100644 --- a/gm/gradtext.cpp +++ b/gm/gradtext.cpp @@ -102,11 +102,11 @@ public: GradTextGM () {} protected: - SkString onShortName() SK_OVERRIDE { + SkString onShortName() override { return SkString("gradtext"); } - SkISize onISize() SK_OVERRIDE { return SkISize::Make(500, 480); } + SkISize onISize() override { return SkISize::Make(500, 480); } static void draw_text(SkCanvas* canvas, const SkPaint& paint) { const char* text = "When in the course of human events"; @@ -127,7 +127,7 @@ protected: draw_text(canvas, p); } - void onDraw(SkCanvas* canvas) SK_OVERRIDE { + void onDraw(SkCanvas* canvas) override { SkPaint paint; sk_tool_utils::set_portable_typeface(&paint); paint.setTextSize(SkIntToScalar(26)); |