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

Unified Diff: tests/Test.h

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 | « tests/SkpSkGrTest.cpp ('k') | tests/Test.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/Test.h
diff --git a/tests/Test.h b/tests/Test.h
index 90cd25998f04397258ac3da5602d7c1e9f4ec53e..4f838f501ce850d8d02ac756d33a3897f50ae716 100644
--- a/tests/Test.h
+++ b/tests/Test.h
@@ -178,10 +178,10 @@ namespace skiatest {
public: \
static Test* Factory(void*) { return SkNEW(name##Class); } \
protected: \
- virtual void onGetName(SkString* name) SK_OVERRIDE { \
+ void onGetName(SkString* name) SK_OVERRIDE { \
name->set(#name); \
} \
- virtual void onRun(Reporter* r) SK_OVERRIDE { test_##name(r); } \
+ void onRun(Reporter* r) SK_OVERRIDE { test_##name(r); } \
}; \
static TestRegistry gReg_##name##Class(name##Class::Factory); \
} \
@@ -194,10 +194,10 @@ namespace skiatest {
public: \
static Test* Factory(void*) { return SkNEW(name##Class); } \
protected: \
- virtual void onGetName(SkString* name) SK_OVERRIDE { \
+ void onGetName(SkString* name) SK_OVERRIDE { \
name->set(#name); \
} \
- virtual void onRun(Reporter* r) SK_OVERRIDE { \
+ void onRun(Reporter* r) SK_OVERRIDE { \
test_##name(r, fGrContextFactory); \
} \
}; \
« no previous file with comments | « tests/SkpSkGrTest.cpp ('k') | tests/Test.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698