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

Unified Diff: Source/core/svg/SVGUseElement.h

Issue 631153003: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/svg (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/svg/SVGUnknownElement.h ('k') | Source/core/svg/SVGVKernElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGUseElement.h
diff --git a/Source/core/svg/SVGUseElement.h b/Source/core/svg/SVGUseElement.h
index d2b85fa3999e0926f94c79658075c5f894e5c3a0..c7ee145ea0c3f878c377915a31b0cbf65e7c768d 100644
--- a/Source/core/svg/SVGUseElement.h
+++ b/Source/core/svg/SVGUseElement.h
@@ -32,7 +32,7 @@ namespace blink {
class DocumentResource;
-class SVGUseElement FINAL : public SVGGraphicsElement,
+class SVGUseElement final : public SVGGraphicsElement,
public SVGURIReference,
public DocumentResourceClient {
DEFINE_WRAPPERTYPEINFO();
@@ -49,32 +49,32 @@ public:
SVGAnimatedLength* width() const { return m_width.get(); }
SVGAnimatedLength* height() const { return m_height.get(); }
- virtual void buildPendingResource() OVERRIDE;
+ virtual void buildPendingResource() override;
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
explicit SVGUseElement(Document&);
- virtual bool isStructurallyExternal() const OVERRIDE { return !hrefString().isNull() && isExternalURIReference(hrefString(), document()); }
+ virtual bool isStructurallyExternal() const override { return !hrefString().isNull() && isExternalURIReference(hrefString(), document()); }
- virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
- virtual void removedFrom(ContainerNode*) OVERRIDE;
+ virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
+ virtual void removedFrom(ContainerNode*) override;
bool isSupportedAttribute(const QualifiedName&);
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
- virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
+ virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ virtual void svgAttributeChanged(const QualifiedName&) override;
- virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
- virtual void toClipPath(Path&) OVERRIDE;
+ virtual RenderObject* createRenderer(RenderStyle*) override;
+ virtual void toClipPath(Path&) override;
void clearResourceReferences();
void buildShadowAndInstanceTree(SVGElement* target);
void scheduleShadowTreeRecreation();
- virtual bool haveLoadedRequiredResources() OVERRIDE { return !isStructurallyExternal() || m_haveFiredLoadEvent; }
+ virtual bool haveLoadedRequiredResources() override { return !isStructurallyExternal() || m_haveFiredLoadEvent; }
- virtual bool selfHasRelativeLengths() const OVERRIDE;
+ virtual bool selfHasRelativeLengths() const override;
// Instance tree handling
bool buildShadowTree(SVGElement* target, SVGElement* targetInstance, bool foundUse);
@@ -89,11 +89,11 @@ private:
bool resourceIsStillLoading();
Document* externalDocument() const;
bool instanceTreeIsLoading(SVGElement*);
- virtual void notifyFinished(Resource*) OVERRIDE;
+ virtual void notifyFinished(Resource*) override;
TreeScope* referencedScope() const;
void setDocumentResource(ResourcePtr<DocumentResource>);
- virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadEventTimer; }
+ virtual Timer<SVGElement>* svgLoadEventTimer() override { return &m_svgLoadEventTimer; }
RefPtr<SVGAnimatedLength> m_x;
RefPtr<SVGAnimatedLength> m_y;
« no previous file with comments | « Source/core/svg/SVGUnknownElement.h ('k') | Source/core/svg/SVGVKernElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698