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/FrontBufferedStreamTest.cpp b/tests/FrontBufferedStreamTest.cpp
index e8c2c6a..167d1a2 100644
--- a/tests/FrontBufferedStreamTest.cpp
+++ b/tests/FrontBufferedStreamTest.cpp
@@ -172,19 +172,19 @@
, fHasPosition(hasPosition)
{}
- virtual bool hasLength() const SK_OVERRIDE {
+ bool hasLength() const SK_OVERRIDE {
return fHasLength;
}
- virtual bool hasPosition() const SK_OVERRIDE {
+ bool hasPosition() const SK_OVERRIDE {
return fHasPosition;
}
- virtual size_t read(void*, size_t) SK_OVERRIDE {
+ size_t read(void*, size_t) SK_OVERRIDE {
return 0;
}
- virtual bool isAtEnd() const SK_OVERRIDE {
+ bool isAtEnd() const SK_OVERRIDE {
return true;
}
@@ -261,7 +261,7 @@
: fAtEnd(false)
, fReadAfterEnd(false)
{}
- virtual size_t read(void* buffer, size_t size) SK_OVERRIDE {
+ size_t read(void* buffer, size_t size) SK_OVERRIDE {
if (fAtEnd) {
fReadAfterEnd = true;
} else {
@@ -270,7 +270,7 @@
return 0;
}
- virtual bool isAtEnd() const SK_OVERRIDE {
+ bool isAtEnd() const SK_OVERRIDE {
return fAtEnd;
}