Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(475)

Unified Diff: gm/addarc.cpp

Issue 1037793002: C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: git cl web Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/aarectmodes.cpp ('k') | gm/alphagradients.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/addarc.cpp
diff --git a/gm/addarc.cpp b/gm/addarc.cpp
index 8bdbca3e84215f79bfdec87d3238213778d323a0..742f16fce5f6d41b67ace89a9f39caba8333b521 100644
--- a/gm/addarc.cpp
+++ b/gm/addarc.cpp
@@ -16,11 +16,11 @@ public:
AddArcGM() : fRotate(0) {}
protected:
- SkString onShortName() SK_OVERRIDE { return SkString("addarc"); }
+ SkString onShortName() override { return SkString("addarc"); }
- SkISize onISize() SK_OVERRIDE { return SkISize::Make(1040, 1040); }
+ SkISize onISize() override { return SkISize::Make(1040, 1040); }
- void onDraw(SkCanvas* canvas) SK_OVERRIDE {
+ void onDraw(SkCanvas* canvas) override {
canvas->translate(20, 20);
SkRect r = SkRect::MakeWH(1000, 1000);
@@ -51,7 +51,7 @@ protected:
}
}
- bool onAnimate(const SkAnimTimer& timer) SK_OVERRIDE {
+ bool onAnimate(const SkAnimTimer& timer) override {
fRotate = timer.scaled(1, 360);
return true;
}
@@ -71,11 +71,11 @@ public:
AddArcMeasGM() {}
protected:
- SkString onShortName() SK_OVERRIDE { return SkString("addarc_meas"); }
+ SkString onShortName() override { return SkString("addarc_meas"); }
- SkISize onISize() SK_OVERRIDE { return SkISize::Make(2*R + 40, 2*R + 40); }
+ SkISize onISize() override { return SkISize::Make(2*R + 40, 2*R + 40); }
- void onDraw(SkCanvas* canvas) SK_OVERRIDE {
+ void onDraw(SkCanvas* canvas) override {
canvas->translate(R + 20, R + 20);
SkPaint paint;
@@ -122,11 +122,11 @@ public:
StrokeCircleGM() : fRotate(0) {}
protected:
- SkString onShortName() SK_OVERRIDE { return SkString("strokecircle"); }
+ SkString onShortName() override { return SkString("strokecircle"); }
- SkISize onISize() SK_OVERRIDE { return SkISize::Make(520, 520); }
+ SkISize onISize() override { return SkISize::Make(520, 520); }
- void onDraw(SkCanvas* canvas) SK_OVERRIDE {
+ void onDraw(SkCanvas* canvas) override {
canvas->scale(20, 20);
canvas->translate(13, 13);
@@ -151,7 +151,7 @@ protected:
}
}
- bool onAnimate(const SkAnimTimer& timer) SK_OVERRIDE {
+ bool onAnimate(const SkAnimTimer& timer) override {
fRotate = timer.scaled(60, 360);
return true;
}
@@ -178,11 +178,11 @@ public:
ManyArcsGM() {}
protected:
- SkString onShortName() SK_OVERRIDE { return SkString("manyarcs"); }
+ SkString onShortName() override { return SkString("manyarcs"); }
- SkISize onISize() SK_OVERRIDE { return SkISize::Make(620, 330); }
+ SkISize onISize() override { return SkISize::Make(620, 330); }
- void onDraw(SkCanvas* canvas) SK_OVERRIDE {
+ void onDraw(SkCanvas* canvas) override {
SkPaint paint;
paint.setAntiAlias(true);
paint.setStyle(SkPaint::kStroke_Style);
« no previous file with comments | « gm/aarectmodes.cpp ('k') | gm/alphagradients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698