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

Unified Diff: gm/etc1bitmap.cpp

Issue 806653007: Fix up all the easy virtual ... SK_OVERRIDE cases. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 11 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/emboss.cpp ('k') | gm/extractbitmap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/etc1bitmap.cpp
diff --git a/gm/etc1bitmap.cpp b/gm/etc1bitmap.cpp
index 76593f44414de7c84e9e4edc194dedd6a94423a7..e93ed1d7e88033d41e2eb5d9480dca4f08b8e7f1 100644
--- a/gm/etc1bitmap.cpp
+++ b/gm/etc1bitmap.cpp
@@ -81,19 +81,19 @@ public:
virtual ~ETC1BitmapGM() { }
protected:
- virtual SkString onShortName() SK_OVERRIDE {
+ SkString onShortName() SK_OVERRIDE {
SkString str = SkString("etc1bitmap_");
str.append(this->fileExtension());
return str;
}
- virtual SkISize onISize() SK_OVERRIDE {
+ SkISize onISize() SK_OVERRIDE {
return SkISize::Make(128, 128);
}
virtual SkString fileExtension() const = 0;
- virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
+ void onDraw(SkCanvas* canvas) SK_OVERRIDE {
SkBitmap bm;
SkString filename = GetResourcePath("mandrill_128.");
filename.append(this->fileExtension());
@@ -123,7 +123,7 @@ public:
protected:
- virtual SkString fileExtension() const SK_OVERRIDE { return SkString("pkm"); }
+ SkString fileExtension() const SK_OVERRIDE { return SkString("pkm"); }
private:
typedef ETC1BitmapGM INHERITED;
@@ -137,7 +137,7 @@ public:
protected:
- virtual SkString fileExtension() const SK_OVERRIDE { return SkString("ktx"); }
+ SkString fileExtension() const SK_OVERRIDE { return SkString("ktx"); }
private:
typedef ETC1BitmapGM INHERITED;
@@ -151,7 +151,7 @@ public:
protected:
- virtual SkString fileExtension() const SK_OVERRIDE { return SkString("r11.ktx"); }
+ SkString fileExtension() const SK_OVERRIDE { return SkString("r11.ktx"); }
private:
typedef ETC1BitmapGM INHERITED;
@@ -170,15 +170,15 @@ public:
virtual ~ETC1Bitmap_NPOT_GM() { }
protected:
- virtual SkString onShortName() SK_OVERRIDE {
+ SkString onShortName() SK_OVERRIDE {
return SkString("etc1bitmap_npot");
}
- virtual SkISize onISize() SK_OVERRIDE {
+ SkISize onISize() SK_OVERRIDE {
return SkISize::Make(124, 124);
}
- virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
+ void onDraw(SkCanvas* canvas) SK_OVERRIDE {
SkBitmap bm;
SkString pkmFilename = GetResourcePath("mandrill_128.pkm");
SkAutoDataUnref fileData(SkData::NewFromFileName(pkmFilename.c_str()));
« no previous file with comments | « gm/emboss.cpp ('k') | gm/extractbitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698