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

Unified Diff: Source/core/layout/LayoutRubyText.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/LayoutRubyRun.h ('k') | Source/core/layout/LayoutScrollbar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutRubyText.h
diff --git a/Source/core/layout/LayoutRubyText.h b/Source/core/layout/LayoutRubyText.h
index 0d84a43adf8a34a6e13fca1c3e1ec3c48d7a9ad8..8841b37296d24f780156c2128285419c71f26673 100644
--- a/Source/core/layout/LayoutRubyText.h
+++ b/Source/core/layout/LayoutRubyText.h
@@ -38,19 +38,19 @@ namespace blink {
class LayoutRubyText final : public LayoutBlockFlow {
public:
LayoutRubyText(Element*);
- virtual ~LayoutRubyText();
+ ~LayoutRubyText() override;
- virtual const char* name() const override { return "LayoutRubyText"; }
+ const char* name() const override { return "LayoutRubyText"; }
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectRubyText || LayoutBlockFlow::isOfType(type); }
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectRubyText || LayoutBlockFlow::isOfType(type); }
- virtual bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override;
+ bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override;
private:
- virtual bool avoidsFloats() const override;
+ bool avoidsFloats() const override;
- 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;
};
} // namespace blink
« no previous file with comments | « Source/core/layout/LayoutRubyRun.h ('k') | Source/core/layout/LayoutScrollbar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698