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

Unified Diff: src/animator/SkDrawBitmap.h

Issue 815883002: Cleanup: Another round of override fixes. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: revert include changes Created 6 years 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 | « src/animator/SkDisplayTypes.h ('k') | src/animator/SkDrawColor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/animator/SkDrawBitmap.h
diff --git a/src/animator/SkDrawBitmap.h b/src/animator/SkDrawBitmap.h
index f9a92126b5e03be8ebc4aaf0fd66d8e08cc7bd36..0ebea9c6debf3daca684f4a106dd76e9d12d283a 100644
--- a/src/animator/SkDrawBitmap.h
+++ b/src/animator/SkDrawBitmap.h
@@ -20,7 +20,7 @@ class SkBaseBitmap : public SkBoundable {
DECLARE_MEMBER_INFO(BaseBitmap);
SkBaseBitmap();
virtual ~SkBaseBitmap();
- virtual bool draw(SkAnimateMaker& );
+ virtual bool draw(SkAnimateMaker& ) SK_OVERRIDE;
protected:
SkBitmap fBitmap;
SkScalar x;
@@ -36,10 +36,10 @@ class SkDrawBitmap : public SkBaseBitmap {
SkDrawBitmap();
virtual ~SkDrawBitmap();
#ifdef SK_DUMP_ENABLED
- virtual void dump(SkAnimateMaker* );
+ virtual void dump(SkAnimateMaker* ) SK_OVERRIDE;
#endif
- virtual void onEndElement(SkAnimateMaker& );
- virtual bool setProperty(int index, SkScriptValue& value);
+ virtual void onEndElement(SkAnimateMaker& ) SK_OVERRIDE;
+ virtual bool setProperty(int index, SkScriptValue& value) SK_OVERRIDE;
protected:
int /*SkBitmap::Config*/ format;
int32_t height;
@@ -54,11 +54,11 @@ class SkImageBaseBitmap : public SkBaseBitmap {
DECLARE_MEMBER_INFO(ImageBaseBitmap);
SkImageBaseBitmap();
virtual ~SkImageBaseBitmap();
- virtual SkDisplayable* deepCopy(SkAnimateMaker* );
- virtual void dirty();
- virtual bool draw(SkAnimateMaker& );
- virtual bool getProperty(int index, SkScriptValue* value) const;
- virtual void onEndElement(SkAnimateMaker& maker);
+ virtual SkDisplayable* deepCopy(SkAnimateMaker* ) SK_OVERRIDE;
+ virtual void dirty() SK_OVERRIDE;
+ virtual bool draw(SkAnimateMaker& ) SK_OVERRIDE;
+ virtual bool getProperty(int index, SkScriptValue* value) const SK_OVERRIDE;
+ virtual void onEndElement(SkAnimateMaker& maker) SK_OVERRIDE;
private:
void resolve() const { (const_cast<SkImageBaseBitmap*>(this))->resolve(); }
void resolve();
« no previous file with comments | « src/animator/SkDisplayTypes.h ('k') | src/animator/SkDrawColor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698