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

Unified Diff: gm/complexclip2.cpp

Issue 1232463006: Fix up -Winconsistent-missing-override (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: llvm_coverage_build Created 5 years, 5 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/bitmapshader.cpp ('k') | gm/dcshader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/complexclip2.cpp
diff --git a/gm/complexclip2.cpp b/gm/complexclip2.cpp
index dfec4e73e1e6ad6f571c8b1e66a1997dbad75752..9357884c6e7bf1992cba4cf4032347abcdbed9bb 100644
--- a/gm/complexclip2.cpp
+++ b/gm/complexclip2.cpp
@@ -118,7 +118,7 @@ protected:
return "";
}
- virtual SkString onShortName() {
+ SkString onShortName() override {
if (kRect_Clip == fClip && !fAntiAlias) {
return SkString("complexclip2");
}
@@ -130,12 +130,12 @@ protected:
return str;
}
- virtual SkISize onISize() {
+ SkISize onISize() override {
return SkISize::Make(SkScalarRoundToInt(fTotalWidth),
SkScalarRoundToInt(fTotalHeight));
}
- virtual void onDraw(SkCanvas* canvas) {
+ void onDraw(SkCanvas* canvas) override {
SkPaint rectPaint;
rectPaint.setStyle(SkPaint::kStroke_Style);
rectPaint.setStrokeWidth(-1);
« no previous file with comments | « gm/bitmapshader.cpp ('k') | gm/dcshader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698