diff options
author | mtklein <mtklein@chromium.org> | 2015-03-25 18:17:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-25 18:17:32 -0700 |
commit | 36352bf5e38f45a70ee4f4fc132a38048d38206d (patch) | |
tree | 24f662dbc4bceca8f2e59521ab41ad2c1cf89ca6 /gm/pathopsinverse.cpp | |
parent | 02fd592c8d190058652bb715fb34feb7a72992e5 (diff) |
C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla}
NOPRESUBMIT=true
BUG=skia:
DOCS_PREVIEW= https://skia.org/?cl=1037793002
Review URL: https://codereview.chromium.org/1037793002
Diffstat (limited to 'gm/pathopsinverse.cpp')
-rw-r--r-- | gm/pathopsinverse.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gm/pathopsinverse.cpp b/gm/pathopsinverse.cpp index 9fe787206a..4b87778619 100644 --- a/gm/pathopsinverse.cpp +++ b/gm/pathopsinverse.cpp @@ -19,7 +19,7 @@ public: } protected: - void onOnceBeforeDraw() SK_OVERRIDE { + void onOnceBeforeDraw() override { const unsigned oneColor = 0xFF8080FF; const unsigned twoColor = 0x807F1f1f; SkColor blendColor = blend(oneColor, twoColor); @@ -50,15 +50,15 @@ protected: paint->setColor(color); } - SkString onShortName() SK_OVERRIDE { + SkString onShortName() override { return SkString("pathopsinverse"); } - SkISize onISize() SK_OVERRIDE { + SkISize onISize() override { return SkISize::Make(1200, 900); } - void onDraw(SkCanvas* canvas) SK_OVERRIDE { + void onDraw(SkCanvas* canvas) override { SkPath one, two; int yPos = 0; for (int oneFill = 0; oneFill <= 1; ++oneFill) { |