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

Unified Diff: Source/core/layout/LayoutFieldset.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/LayoutEmbeddedObject.h ('k') | Source/core/layout/LayoutFileUploadControl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutFieldset.h
diff --git a/Source/core/layout/LayoutFieldset.h b/Source/core/layout/LayoutFieldset.h
index 45fa0a57a4f2bfe3a657831db75f361f1dded870..d0642b8b708eb2d1ee75c8bd681d3134ef980feb 100644
--- a/Source/core/layout/LayoutFieldset.h
+++ b/Source/core/layout/LayoutFieldset.h
@@ -34,18 +34,18 @@ public:
LayoutBox* findInFlowLegend() const;
- virtual const char* name() const override { return "LayoutFieldset"; }
+ const char* name() const override { return "LayoutFieldset"; }
private:
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectFieldset || LayoutBlockFlow::isOfType(type); }
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectFieldset || LayoutBlockFlow::isOfType(type); }
- virtual LayoutObject* layoutSpecialExcludedChild(bool relayoutChildren, SubtreeLayoutScope&) override;
+ LayoutObject* layoutSpecialExcludedChild(bool relayoutChildren, SubtreeLayoutScope&) override;
- virtual void computePreferredLogicalWidths() override;
- virtual bool avoidsFloats() const override { return true; }
+ void computePreferredLogicalWidths() override;
+ bool avoidsFloats() const override { return true; }
- virtual void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoint&) override;
- virtual void paintMask(const PaintInfo&, const LayoutPoint&) override;
+ void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoint&) override;
+ void paintMask(const PaintInfo&, const LayoutPoint&) override;
};
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFieldset, isFieldset());
« no previous file with comments | « Source/core/layout/LayoutEmbeddedObject.h ('k') | Source/core/layout/LayoutFileUploadControl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698