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/animator/SkDisplayPost.h b/src/animator/SkDisplayPost.h
index 6808292..c6c4b51 100644
--- a/src/animator/SkDisplayPost.h
+++ b/src/animator/SkDisplayPost.h
@@ -27,17 +27,17 @@
};
SkPost();
virtual ~SkPost();
- virtual bool addChild(SkAnimateMaker& , SkDisplayable* child) SK_OVERRIDE;
- virtual bool childrenNeedDisposing() const SK_OVERRIDE;
- virtual void dirty() SK_OVERRIDE;
+ bool addChild(SkAnimateMaker& , SkDisplayable* child) SK_OVERRIDE;
+ bool childrenNeedDisposing() const SK_OVERRIDE;
+ void dirty() SK_OVERRIDE;
#ifdef SK_DUMP_ENABLED
- virtual void dump(SkAnimateMaker* ) SK_OVERRIDE;
+ void dump(SkAnimateMaker* ) SK_OVERRIDE;
#endif
- virtual bool enable(SkAnimateMaker& ) SK_OVERRIDE;
- virtual bool hasEnable() const SK_OVERRIDE;
- virtual void onEndElement(SkAnimateMaker& ) SK_OVERRIDE;
- virtual void setChildHasID() SK_OVERRIDE;
- virtual bool setProperty(int index, SkScriptValue& ) SK_OVERRIDE;
+ bool enable(SkAnimateMaker& ) SK_OVERRIDE;
+ bool hasEnable() const SK_OVERRIDE;
+ void onEndElement(SkAnimateMaker& ) SK_OVERRIDE;
+ void setChildHasID() SK_OVERRIDE;
+ bool setProperty(int index, SkScriptValue& ) SK_OVERRIDE;
protected:
SkMSec delay;
SkString sink;