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

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

Issue 640593002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[css|rendering|clipboard] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch Created 6 years, 2 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 2058cad94885639f08f914d849a06d9f9cae5c9e..8d0aa866cf37a8ebe4def8367086b99b42ed0ad9 100644
--- a/Source/core/rendering/RenderRuby.h
+++ b/Source/core/rendering/RenderRuby.h
@@ -51,40 +51,40 @@ namespace blink {
// Generated :before/:after content is shunted into anonymous inline blocks
// <ruby> when used as 'display:inline'
-class RenderRubyAsInline FINAL : public RenderInline {
+class RenderRubyAsInline final : public RenderInline {
public:
RenderRubyAsInline(Element*);
virtual ~RenderRubyAsInline();
- virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OVERRIDE;
- virtual void removeChild(RenderObject* child) OVERRIDE;
+ virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) override;
+ virtual void removeChild(RenderObject* child) override;
protected:
- virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE;
+ virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
private:
- virtual bool isRuby() const OVERRIDE { return true; }
- virtual const char* renderName() const OVERRIDE { return "RenderRuby (inline)"; }
- virtual bool createsAnonymousWrapper() const OVERRIDE { return true; }
+ 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'
-class RenderRubyAsBlock FINAL : public RenderBlockFlow {
+class RenderRubyAsBlock final : public RenderBlockFlow {
public:
RenderRubyAsBlock(Element*);
virtual ~RenderRubyAsBlock();
- virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OVERRIDE;
- virtual void removeChild(RenderObject* child) OVERRIDE;
+ virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) override;
+ virtual void removeChild(RenderObject* child) override;
protected:
- virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE;
+ virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
private:
- virtual bool isRuby() const OVERRIDE { return true; }
- virtual const char* renderName() const OVERRIDE { return "RenderRuby (block)"; }
- virtual bool createsAnonymousWrapper() const OVERRIDE { return true; }
- virtual void removeLeftoverAnonymousBlock(RenderBlock*) OVERRIDE { ASSERT_NOT_REACHED(); }
+ virtual bool isRuby() const override { return true; }
+ virtual const char* renderName() const override { return "RenderRuby (block)"; }
+ virtual bool createsAnonymousWrapper() const override { return true; }
+ virtual void removeLeftoverAnonymousBlock(RenderBlock*) override { ASSERT_NOT_REACHED(); }
};
} // namespace blink
« 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