Fix up all the easy virtual ... SK_OVERRIDE cases.
This fixes every case where virtual and SK_OVERRIDE were on the same line,
which should be the bulk of cases. We'll have to manually clean up the rest
over time unless I level up in regexes.
for f in (find . -type f); perl -p -i -e 's/virtual (.*)SK_OVERRIDE/\1SK_OVERRIDE/g' $f; end
BUG=skia:
Review URL: https://codereview.chromium.org/806653007
diff --git a/tests/Test.h b/tests/Test.h
index 90cd259..4f838f5 100644
--- a/tests/Test.h
+++ b/tests/Test.h
@@ -178,10 +178,10 @@
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 @@
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); \
} \
}; \