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

Unified Diff: Source/core/rendering/RenderTableRow.h

Issue 640593002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[css|rendering|clipboard] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch Created 6 years, 2 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/rendering/RenderTableCol.h ('k') | Source/core/rendering/RenderTableSection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderTableRow.h
diff --git a/Source/core/rendering/RenderTableRow.h b/Source/core/rendering/RenderTableRow.h
index b92cd772be3e0c7d0a473250c70acd9b940c456d..d54ac9469d700288f3fea2508d5982d373ffa6f6 100644
--- a/Source/core/rendering/RenderTableRow.h
+++ b/Source/core/rendering/RenderTableRow.h
@@ -32,10 +32,10 @@ namespace blink {
static const unsigned unsetRowIndex = 0x7FFFFFFF;
static const unsigned maxRowIndex = 0x7FFFFFFE; // 2,147,483,646
-class RenderTableRow FINAL : public RenderBox {
+class RenderTableRow final : public RenderBox {
public:
explicit RenderTableRow(Element*);
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
RenderTableCell* firstCell() const;
RenderTableCell* lastCell() const;
@@ -51,7 +51,7 @@ public:
static RenderTableRow* createAnonymous(Document*);
static RenderTableRow* createAnonymousWithParentRenderer(const RenderObject*);
- virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject* parent) const OVERRIDE
+ virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject* parent) const override
{
return createAnonymousWithParentRenderer(parent);
}
@@ -91,22 +91,22 @@ public:
const BorderValue& borderAdjoiningStartCell(const RenderTableCell*) const;
const BorderValue& borderAdjoiningEndCell(const RenderTableCell*) const;
- virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) OVERRIDE;
+ virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override;
private:
- virtual RenderObjectChildList* virtualChildren() OVERRIDE { return children(); }
- virtual const RenderObjectChildList* virtualChildren() const OVERRIDE { return children(); }
+ virtual RenderObjectChildList* virtualChildren() override { return children(); }
+ virtual const RenderObjectChildList* virtualChildren() const override { return children(); }
- virtual const char* renderName() const OVERRIDE { return (isAnonymous() || isPseudoElement()) ? "RenderTableRow (anonymous)" : "RenderTableRow"; }
+ virtual const char* renderName() const override { return (isAnonymous() || isPseudoElement()) ? "RenderTableRow (anonymous)" : "RenderTableRow"; }
- virtual bool isTableRow() const OVERRIDE { return true; }
+ virtual bool isTableRow() const override { return true; }
- virtual void willBeRemovedFromTree() OVERRIDE;
+ virtual void willBeRemovedFromTree() override;
- virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OVERRIDE;
- virtual void layout() OVERRIDE;
+ virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) override;
+ virtual void layout() override;
- virtual LayerType layerTypeRequired() const OVERRIDE
+ virtual LayerType layerTypeRequired() const override
{
if (hasTransform() || hasHiddenBackface() || hasClipPath() || createsGroup() || style()->shouldCompositeForCurrentAnimations())
return NormalLayer;
@@ -117,11 +117,11 @@ private:
return NoLayer;
}
- virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE;
+ virtual void paint(PaintInfo&, const LayoutPoint&) override;
- virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE;
+ virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) override;
- virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE;
+ virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
void nextSibling() const WTF_DELETED_FUNCTION;
void previousSibling() const WTF_DELETED_FUNCTION;
« no previous file with comments | « Source/core/rendering/RenderTableCol.h ('k') | Source/core/rendering/RenderTableSection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698