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/dashing.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/dashing.cpp')
-rw-r--r-- | gm/dashing.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gm/dashing.cpp b/gm/dashing.cpp index ba3ede4fcd..bd906cbab2 100644 --- a/gm/dashing.cpp +++ b/gm/dashing.cpp @@ -403,9 +403,9 @@ public: protected: - bool runAsBench() const SK_OVERRIDE { return true; } + bool runAsBench() const override { return true; } - SkString onShortName() SK_OVERRIDE { + SkString onShortName() override { if (fDoAA) { return SkString("dashing5_aa"); } else { @@ -413,9 +413,9 @@ protected: } } - SkISize onISize() SK_OVERRIDE { return SkISize::Make(400, 200); } + SkISize onISize() override { return SkISize::Make(400, 200); } - void onDraw(SkCanvas* canvas) SK_OVERRIDE { + void onDraw(SkCanvas* canvas) override { static const int kOn = 4; static const int kOff = 4; static const int kIntervalLength = kOn + kOff; |