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

Unified Diff: Source/core/layout/LayoutMeter.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/LayoutMenuList.h ('k') | Source/core/layout/LayoutMultiColumnFlowThread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutMeter.h
diff --git a/Source/core/layout/LayoutMeter.h b/Source/core/layout/LayoutMeter.h
index 61ed8a0c962147655f5e4c574e05cdfdcb7f9ffa..6f1502c08a01566efb7321e9513c98222c63a67f 100644
--- a/Source/core/layout/LayoutMeter.h
+++ b/Source/core/layout/LayoutMeter.h
@@ -30,18 +30,18 @@ class HTMLMeterElement;
class LayoutMeter final : public LayoutBlockFlow {
public:
explicit LayoutMeter(HTMLElement*);
- virtual ~LayoutMeter();
+ ~LayoutMeter() override;
HTMLMeterElement* meterElement() const;
- virtual void updateFromElement() override;
+ void updateFromElement() override;
- virtual const char* name() const override { return "LayoutMeter"; }
+ const char* name() const override { return "LayoutMeter"; }
private:
- virtual void updateLogicalWidth() override;
- virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues&) const override;
+ void updateLogicalWidth() override;
+ void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues&) const override;
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectMeter || LayoutBlockFlow::isOfType(type); }
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectMeter || LayoutBlockFlow::isOfType(type); }
};
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMeter, isMeter());
« no previous file with comments | « Source/core/layout/LayoutMenuList.h ('k') | Source/core/layout/LayoutMultiColumnFlowThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698