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

Unified Diff: Source/core/layout/LayoutDeprecatedFlexibleBox.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/LayoutCounter.h ('k') | Source/core/layout/LayoutDetailsMarker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutDeprecatedFlexibleBox.h
diff --git a/Source/core/layout/LayoutDeprecatedFlexibleBox.h b/Source/core/layout/LayoutDeprecatedFlexibleBox.h
index ce107e19b8ab43ac1af891f4cec8287bf2b3d6a0..25581df8b5c559e4eec097e9a55e066d7c72c3ab 100644
--- a/Source/core/layout/LayoutDeprecatedFlexibleBox.h
+++ b/Source/core/layout/LayoutDeprecatedFlexibleBox.h
@@ -32,24 +32,24 @@ class FlexBoxIterator;
class LayoutDeprecatedFlexibleBox final : public LayoutBlock {
public:
LayoutDeprecatedFlexibleBox(Element&);
- virtual ~LayoutDeprecatedFlexibleBox();
+ ~LayoutDeprecatedFlexibleBox() override;
- virtual const char* name() const override { return "LayoutDeprecatedFlexibleBox"; }
+ const char* name() const override { return "LayoutDeprecatedFlexibleBox"; }
- virtual void styleWillChange(StyleDifference, const ComputedStyle& newStyle) override;
+ void styleWillChange(StyleDifference, const ComputedStyle& newStyle) override;
- virtual void layoutBlock(bool relayoutChildren) override;
+ void layoutBlock(bool relayoutChildren) override;
void layoutHorizontalBox(bool relayoutChildren);
void layoutVerticalBox(bool relayoutChildren);
- virtual bool isDeprecatedFlexibleBox() const override { return true; }
+ bool isDeprecatedFlexibleBox() const override { return true; }
bool isStretchingChildren() const { return m_stretchingChildren; }
- virtual bool canCollapseAnonymousBlockChild() const override { return false; }
+ bool canCollapseAnonymousBlockChild() const override { return false; }
void placeChild(LayoutBox* child, const LayoutPoint& location);
private:
- virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const override;
+ void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const override;
LayoutUnit allowedChildFlex(LayoutBox* child, bool expanding, unsigned group);
« no previous file with comments | « Source/core/layout/LayoutCounter.h ('k') | Source/core/layout/LayoutDetailsMarker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698