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

Unified Diff: Source/core/layout/LayoutTableRow.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/LayoutTableCol.h ('k') | Source/core/layout/LayoutTableSection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTableRow.h
diff --git a/Source/core/layout/LayoutTableRow.h b/Source/core/layout/LayoutTableRow.h
index 1067368a9a2674c07ffd87bb2b817ff60e2ad8e6..eab906380c2e571d6adc46acfd39d7dbe58acca1 100644
--- a/Source/core/layout/LayoutTableRow.h
+++ b/Source/core/layout/LayoutTableRow.h
@@ -51,7 +51,7 @@ public:
static LayoutTableRow* createAnonymous(Document*);
static LayoutTableRow* createAnonymousWithParent(const LayoutObject*);
- virtual LayoutBox* createAnonymousBoxWithSameTypeAs(const LayoutObject* parent) const override
+ LayoutBox* createAnonymousBoxWithSameTypeAs(const LayoutObject* parent) const override
{
return createAnonymousWithParent(parent);
}
@@ -91,24 +91,24 @@ public:
const BorderValue& borderAdjoiningStartCell(const LayoutTableCell*) const;
const BorderValue& borderAdjoiningEndCell(const LayoutTableCell*) const;
- virtual bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override;
+ bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override;
void addOverflowFromCell(const LayoutTableCell*);
- virtual const char* name() const override { return "LayoutTableRow"; }
+ const char* name() const override { return "LayoutTableRow"; }
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 == LayoutObjectTableRow || LayoutBox::isOfType(type); }
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectTableRow || LayoutBox::isOfType(type); }
- virtual void willBeRemovedFromTree() override;
+ void willBeRemovedFromTree() override;
- virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) override;
- virtual void layout() override;
+ void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) override;
+ void layout() override;
- virtual DeprecatedPaintLayerType layerTypeRequired() const override
+ DeprecatedPaintLayerType layerTypeRequired() const override
{
if (hasTransformRelatedProperty() || hasHiddenBackface() || hasClipPath() || createsGroup() || style()->shouldCompositeForCurrentAnimations() || style()->hasCompositorProxy())
return NormalDeprecatedPaintLayer;
@@ -119,11 +119,11 @@ private:
return NoDeprecatedPaintLayer;
}
- virtual void paint(const PaintInfo&, const LayoutPoint&) override;
+ void paint(const PaintInfo&, const LayoutPoint&) override;
- virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override;
+ void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override;
- virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
+ void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
void nextSibling() const = delete;
void previousSibling() const = delete;
« no previous file with comments | « Source/core/layout/LayoutTableCol.h ('k') | Source/core/layout/LayoutTableSection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698