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

Unified Diff: Source/core/layout/LayoutListItem.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/LayoutListBox.h ('k') | Source/core/layout/LayoutListMarker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutListItem.h
diff --git a/Source/core/layout/LayoutListItem.h b/Source/core/layout/LayoutListItem.h
index bb82199e019192a84fd5bf04386c93563c4cc4e0..580c8ed83f717ed29072a5e8ee07cd742757f8da 100644
--- a/Source/core/layout/LayoutListItem.h
+++ b/Source/core/layout/LayoutListItem.h
@@ -62,28 +62,28 @@ public:
LayoutListMarker* marker() const { return m_marker; }
- virtual const char* name() const override { return "LayoutListItem"; }
+ const char* name() const override { return "LayoutListItem"; }
private:
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectListItem || LayoutBlockFlow::isOfType(type); }
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectListItem || LayoutBlockFlow::isOfType(type); }
- virtual void willBeDestroyed() override;
+ void willBeDestroyed() override;
- virtual void insertedIntoTree() override;
- virtual void willBeRemovedFromTree() override;
+ void insertedIntoTree() override;
+ void willBeRemovedFromTree() override;
- virtual void paint(const PaintInfo&, const LayoutPoint&) override;
+ void paint(const PaintInfo&, const LayoutPoint&) override;
- virtual void subtreeDidChange() final;
+ void subtreeDidChange() final;
// Returns true if we re-attached and updated the location of the marker.
bool updateMarkerLocation();
void positionListMarker();
- virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
+ void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
- virtual void addOverflowFromChildren() override;
+ void addOverflowFromChildren() override;
inline int calcValue() const;
void updateValueNow() const;
« no previous file with comments | « Source/core/layout/LayoutListBox.h ('k') | Source/core/layout/LayoutListMarker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698