| Index: Source/core/layout/LayoutTableSection.h
|
| diff --git a/Source/core/layout/LayoutTableSection.h b/Source/core/layout/LayoutTableSection.h
|
| index e508757487bcacc81822fa2afc495458c5c5c53e..e7c53dbae3d944cf5bb4b0309720780078a091cd 100644
|
| --- a/Source/core/layout/LayoutTableSection.h
|
| +++ b/Source/core/layout/LayoutTableSection.h
|
| @@ -69,7 +69,7 @@ class LayoutTableRow;
|
| class CORE_EXPORT LayoutTableSection final : public LayoutBox {
|
| public:
|
| LayoutTableSection(Element*);
|
| - virtual ~LayoutTableSection();
|
| + ~LayoutTableSection() override;
|
|
|
| LayoutTableRow* firstRow() const;
|
| LayoutTableRow* lastRow() const;
|
| @@ -77,9 +77,9 @@ public:
|
| const LayoutObjectChildList* children() const { return &m_children; }
|
| LayoutObjectChildList* children() { return &m_children; }
|
|
|
| - virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) override;
|
| + void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) override;
|
|
|
| - virtual int firstLineBoxBaseline() const override;
|
| + int firstLineBoxBaseline() const override;
|
|
|
| void addCell(LayoutTableCell*, LayoutTableRow*);
|
|
|
| @@ -218,12 +218,12 @@ public:
|
| int distributeExtraLogicalHeightToRows(int extraLogicalHeight);
|
|
|
| static LayoutTableSection* createAnonymousWithParent(const LayoutObject*);
|
| - virtual LayoutBox* createAnonymousBoxWithSameTypeAs(const LayoutObject* parent) const override
|
| + LayoutBox* createAnonymousBoxWithSameTypeAs(const LayoutObject* parent) const override
|
| {
|
| return createAnonymousWithParent(parent);
|
| }
|
|
|
| - virtual void paint(const PaintInfo&, const LayoutPoint&) override;
|
| + void paint(const PaintInfo&, const LayoutPoint&) override;
|
|
|
| // Flip the rect so it aligns with the coordinates used by the rowPos and columnPos vectors.
|
| LayoutRect logicalRectForWritingModeAndDirection(const LayoutRect&) const;
|
| @@ -233,23 +233,23 @@ public:
|
| HashSet<LayoutTableCell*>& overflowingCells() { return m_overflowingCells; }
|
| bool hasMultipleCellLevels() { return m_hasMultipleCellLevels; }
|
|
|
| - virtual const char* name() const override { return "LayoutTableSection"; }
|
| + const char* name() const override { return "LayoutTableSection"; }
|
|
|
| protected:
|
| - virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
|
| - virtual bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override;
|
| + void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
|
| + bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override;
|
|
|
| private:
|
| - virtual LayoutObjectChildList* virtualChildren() override { return children(); }
|
| - virtual const LayoutObjectChildList* virtualChildren() const override { return children(); }
|
| + LayoutObjectChildList* virtualChildren() override { return children(); }
|
| + const LayoutObjectChildList* virtualChildren() const override { return children(); }
|
|
|
| - virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectTableSection || LayoutBox::isOfType(type); }
|
| + bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectTableSection || LayoutBox::isOfType(type); }
|
|
|
| - virtual void willBeRemovedFromTree() override;
|
| + void willBeRemovedFromTree() override;
|
|
|
| - virtual void layout() override;
|
| + void layout() override;
|
|
|
| - virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override;
|
| + void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override;
|
|
|
| int borderSpacingForRow(unsigned row) const { return m_grid[row].rowLayoutObject ? table()->vBorderSpacing() : 0; }
|
|
|
|
|