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

Unified Diff: Source/core/layout/svg/LayoutSVGResourceContainer.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/LayoutSVGResourceClipper.h ('k') | Source/core/layout/svg/LayoutSVGResourceFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGResourceContainer.h
diff --git a/Source/core/layout/svg/LayoutSVGResourceContainer.h b/Source/core/layout/svg/LayoutSVGResourceContainer.h
index b0f7d7dd37fe65b1d31a7b03d5f3e6126bd10fbe..ee85dd272b40c418d16ced8428c4d53214ef4ed6 100644
--- a/Source/core/layout/svg/LayoutSVGResourceContainer.h
+++ b/Source/core/layout/svg/LayoutSVGResourceContainer.h
@@ -40,14 +40,14 @@ class DeprecatedPaintLayer;
class LayoutSVGResourceContainer : public LayoutSVGHiddenContainer {
public:
explicit LayoutSVGResourceContainer(SVGElement*);
- virtual ~LayoutSVGResourceContainer();
+ ~LayoutSVGResourceContainer() override;
virtual void removeAllClientsFromCache(bool markForInvalidation = true) = 0;
virtual void removeClientFromCache(LayoutObject*, bool markForInvalidation = true) = 0;
- virtual void layout() override;
- virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override final;
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGResourceContainer || LayoutSVGHiddenContainer::isOfType(type); }
+ void layout() override;
+ void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) final;
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGResourceContainer || LayoutSVGHiddenContainer::isOfType(type); }
virtual LayoutSVGResourceType resourceType() const = 0;
@@ -84,7 +84,7 @@ protected:
void markAllClientLayersForInvalidation();
void markClientForInvalidation(LayoutObject*, InvalidationMode);
- virtual void willBeDestroyed() override;
+ void willBeDestroyed() override;
bool m_isInLayout;
« no previous file with comments | « Source/core/layout/svg/LayoutSVGResourceClipper.h ('k') | Source/core/layout/svg/LayoutSVGResourceFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698