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

Unified Diff: Source/core/layout/LayoutRubyBase.h

Issue 1231363003: Fix virtual/override/final usage in Source/core/layout/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/layout/LayoutRuby.h ('k') | Source/core/layout/LayoutRubyRun.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutRubyBase.h
diff --git a/Source/core/layout/LayoutRubyBase.h b/Source/core/layout/LayoutRubyBase.h
index 76cb4a4005850b14b00ba5c8886050d5e6c295b3..90866368ece73362ec41098a652c45e0296b8b31 100644
--- a/Source/core/layout/LayoutRubyBase.h
+++ b/Source/core/layout/LayoutRubyBase.h
@@ -39,21 +39,20 @@ class LayoutRubyRun;
class LayoutRubyBase final : public LayoutBlockFlow {
public:
- virtual ~LayoutRubyBase();
-
+ ~LayoutRubyBase() override;
static LayoutRubyBase* createAnonymous(Document*);
- virtual const char* name() const override { return "LayoutRubyBase"; }
+ const char* name() const override { return "LayoutRubyBase"; }
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectRubyBase || LayoutBlockFlow::isOfType(type); }
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectRubyBase || LayoutBlockFlow::isOfType(type); }
- virtual bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override;
+ bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override;
private:
LayoutRubyBase();
- virtual ETextAlign textAlignmentForLine(bool endsWithSoftBreak) const override;
- virtual void adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, LayoutUnit& logicalLeft, LayoutUnit& logicalWidth) const override;
+ ETextAlign textAlignmentForLine(bool endsWithSoftBreak) const override;
+ void adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, LayoutUnit& logicalLeft, LayoutUnit& logicalWidth) const override;
void moveChildren(LayoutRubyBase* toBase, LayoutObject* beforeChild = nullptr);
void moveInlineChildren(LayoutRubyBase* toBase, LayoutObject* beforeChild = nullptr);
« no previous file with comments | « Source/core/layout/LayoutRuby.h ('k') | Source/core/layout/LayoutRubyRun.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698