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

Unified Diff: Source/core/layout/svg/LayoutSVGHiddenContainer.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/svg/LayoutSVGGradientStop.h ('k') | Source/core/layout/svg/LayoutSVGImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGHiddenContainer.h
diff --git a/Source/core/layout/svg/LayoutSVGHiddenContainer.h b/Source/core/layout/svg/LayoutSVGHiddenContainer.h
index 9405bd05395c24c048975d51a9fc77f3fbe337cb..091c80b35fc3c170d84bd924a4215793fc6c4f74 100644
--- a/Source/core/layout/svg/LayoutSVGHiddenContainer.h
+++ b/Source/core/layout/svg/LayoutSVGHiddenContainer.h
@@ -32,19 +32,19 @@ class LayoutSVGHiddenContainer : public LayoutSVGContainer {
public:
explicit LayoutSVGHiddenContainer(SVGElement*);
- virtual const char* name() const override { return "LayoutSVGHiddenContainer"; }
+ const char* name() const override { return "LayoutSVGHiddenContainer"; }
protected:
- virtual void layout() override;
+ void layout() override;
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGHiddenContainer || LayoutSVGContainer::isOfType(type); }
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGHiddenContainer || LayoutSVGContainer::isOfType(type); }
private:
- virtual void paint(const PaintInfo&, const LayoutPoint&) override final;
- virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject*, const PaintInvalidationState* = nullptr) const override final { return LayoutRect(); }
- virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override final;
+ void paint(const PaintInfo&, const LayoutPoint&) final;
+ LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject*, const PaintInvalidationState* = nullptr) const final { return LayoutRect(); }
+ void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const final;
- virtual bool nodeAtFloatPoint(HitTestResult&, const FloatPoint& pointInParent, HitTestAction) override final;
+ bool nodeAtFloatPoint(HitTestResult&, const FloatPoint& pointInParent, HitTestAction) final;
};
}
« no previous file with comments | « Source/core/layout/svg/LayoutSVGGradientStop.h ('k') | Source/core/layout/svg/LayoutSVGImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698