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

Unified Diff: Source/core/rendering/RenderRuby.h

Issue 129173004: Update rendering classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 11 months 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 | « Source/core/rendering/RenderReplica.h ('k') | Source/core/rendering/RenderRubyBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderRuby.h
diff --git a/Source/core/rendering/RenderRuby.h b/Source/core/rendering/RenderRuby.h
index 85378cd78c1233d47a6ed70fba40d8888a3af699..afa0d552dc8f9c643fde6c7527728221e0b2949f 100644
--- a/Source/core/rendering/RenderRuby.h
+++ b/Source/core/rendering/RenderRuby.h
@@ -56,17 +56,16 @@ public:
RenderRubyAsInline(Element*);
virtual ~RenderRubyAsInline();
- virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0);
- virtual void removeChild(RenderObject* child);
+ virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OVERRIDE;
+ virtual void removeChild(RenderObject* child) OVERRIDE;
protected:
- virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
+ virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE;
private:
- virtual bool isRuby() const { return true; }
- virtual const char* renderName() const { return "RenderRuby (inline)"; }
- virtual bool createsAnonymousWrapper() const { return true; }
- virtual void removeLeftoverAnonymousBlock(RenderBlock*) { ASSERT_NOT_REACHED(); }
+ virtual bool isRuby() const OVERRIDE { return true; }
+ virtual const char* renderName() const OVERRIDE { return "RenderRuby (inline)"; }
+ virtual bool createsAnonymousWrapper() const OVERRIDE { return true; }
};
// <ruby> when used as 'display:block' or 'display:inline-block'
@@ -75,18 +74,18 @@ public:
RenderRubyAsBlock(Element*);
virtual ~RenderRubyAsBlock();
- virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0);
- virtual void removeChild(RenderObject* child);
+ virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OVERRIDE;
+ virtual void removeChild(RenderObject* child) OVERRIDE;
protected:
- virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
+ virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE;
private:
- virtual bool isRuby() const { return true; }
- virtual const char* renderName() const { return "RenderRuby (block)"; }
+ virtual bool isRuby() const OVERRIDE { return true; }
+ virtual const char* renderName() const OVERRIDE { return "RenderRuby (block)"; }
virtual bool supportsPartialLayout() const OVERRIDE { return false; }
- virtual bool createsAnonymousWrapper() const { return true; }
- virtual void removeLeftoverAnonymousBlock(RenderBlock*) { ASSERT_NOT_REACHED(); }
+ virtual bool createsAnonymousWrapper() const OVERRIDE { return true; }
+ virtual void removeLeftoverAnonymousBlock(RenderBlock*) OVERRIDE { ASSERT_NOT_REACHED(); }
};
} // namespace WebCore
« no previous file with comments | « Source/core/rendering/RenderReplica.h ('k') | Source/core/rendering/RenderRubyBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698