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

Unified Diff: Source/core/rendering/RenderListItem.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/RenderListBox.h ('k') | Source/core/rendering/RenderListMarker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderListItem.h
diff --git a/Source/core/rendering/RenderListItem.h b/Source/core/rendering/RenderListItem.h
index da063bf891bb705fa599f99ddca30649884192e0..185a137cc7b4bf329bbe2693e429afa1ad47ff8c 100644
--- a/Source/core/rendering/RenderListItem.h
+++ b/Source/core/rendering/RenderListItem.h
@@ -30,10 +30,10 @@ namespace blink {
class HTMLOListElement;
class RenderListMarker;
-class RenderListItem FINAL : public RenderBlockFlow {
+class RenderListItem final : public RenderBlockFlow {
public:
explicit RenderListItem(Element*);
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
int value() const { if (!m_isValueUpToDate) updateValueNow(); return m_value; }
void updateValue();
@@ -56,18 +56,18 @@ public:
bool isEmpty() const;
private:
- virtual const char* renderName() const OVERRIDE { return "RenderListItem"; }
+ virtual const char* renderName() const override { return "RenderListItem"; }
- virtual bool isListItem() const OVERRIDE { return true; }
+ virtual bool isListItem() const override { return true; }
- virtual void willBeDestroyed() OVERRIDE;
+ virtual void willBeDestroyed() override;
- virtual void insertedIntoTree() OVERRIDE;
- virtual void willBeRemovedFromTree() OVERRIDE;
+ virtual void insertedIntoTree() override;
+ virtual void willBeRemovedFromTree() override;
- virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE;
+ virtual void paint(PaintInfo&, const LayoutPoint&) override;
- virtual void layout() OVERRIDE;
+ virtual void layout() override;
// Returns true if we re-attached and updated the location of the marker.
bool updateMarkerLocation();
@@ -75,9 +75,9 @@ private:
void positionListMarker();
- virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE;
+ virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
- virtual void addOverflowFromChildren() OVERRIDE;
+ virtual void addOverflowFromChildren() override;
inline int calcValue() const;
void updateValueNow() const;
« no previous file with comments | « Source/core/rendering/RenderListBox.h ('k') | Source/core/rendering/RenderListMarker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698