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/src/doc/SkDocument_PDF.cpp b/src/doc/SkDocument_PDF.cpp
index 834cbc3..de65efe 100644
--- a/src/doc/SkDocument_PDF.cpp
+++ b/src/doc/SkDocument_PDF.cpp
@@ -49,7 +49,7 @@
return fCanvas;
}
- virtual void onEndPage() SK_OVERRIDE {
+ void onEndPage() SK_OVERRIDE {
SkASSERT(fCanvas);
SkASSERT(fDevice);
@@ -63,7 +63,7 @@
fDevice = NULL;
}
- virtual bool onClose(SkWStream* stream) SK_OVERRIDE {
+ bool onClose(SkWStream* stream) SK_OVERRIDE {
SkASSERT(NULL == fCanvas);
SkASSERT(NULL == fDevice);
@@ -73,7 +73,7 @@
return success;
}
- virtual void onAbort() SK_OVERRIDE {
+ void onAbort() SK_OVERRIDE {
SkDELETE(fDoc);
fDoc = NULL;
}