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

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

Issue 134593005: Update SVG classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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 052ee057ee6b9c6359e7039c518c1d9f277b8c56..b83af14014f1ded326dfc7bf7d63a8311fb5f8e2 100644
--- a/Source/core/svg/SVGUseElement.h
+++ b/Source/core/svg/SVGUseElement.h
@@ -56,32 +56,32 @@ public:
private:
SVGUseElement(Document&, bool wasInsertedByParser);
- virtual bool isValid() const { return SVGTests::isValid(); }
- virtual bool isStructurallyExternal() const { return isExternalURIReference(hrefCurrentValue(), document()); }
+ virtual bool isValid() const OVERRIDE { return SVGTests::isValid(); }
+ virtual bool isStructurallyExternal() const OVERRIDE { return isExternalURIReference(hrefCurrentValue(), document()); }
virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(); }
virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
virtual void removedFrom(ContainerNode*) OVERRIDE;
- virtual void buildPendingResource();
+ virtual void buildPendingResource() OVERRIDE;
bool isSupportedAttribute(const QualifiedName&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
- virtual void svgAttributeChanged(const QualifiedName&);
+ virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
virtual void attach(const AttachContext& = AttachContext()) OVERRIDE;
virtual void willRecalcStyle(StyleRecalcChange) OVERRIDE;
- virtual RenderObject* createRenderer(RenderStyle*);
- virtual void toClipPath(Path&);
+ virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
+ virtual void toClipPath(Path&) OVERRIDE;
void clearResourceReferences();
void buildShadowAndInstanceTree(SVGElement* target);
void detachInstance();
- virtual bool haveLoadedRequiredResources() { return m_haveFiredLoadEvent; }
+ virtual bool haveLoadedRequiredResources() OVERRIDE { return m_haveFiredLoadEvent; }
- virtual void finishParsingChildren();
- virtual bool selfHasRelativeLengths() const;
+ virtual void finishParsingChildren() OVERRIDE;
+ virtual bool selfHasRelativeLengths() const OVERRIDE;
// Instance tree handling
void buildInstanceTree(SVGElement* target, SVGElementInstance* targetInstance, bool& foundCycle, bool foundUse);
@@ -111,7 +111,7 @@ private:
bool resourceIsStillLoading();
Document* externalDocument() const;
bool instanceTreeIsLoading(SVGElementInstance*);
- virtual void notifyFinished(Resource*);
+ virtual void notifyFinished(Resource*) OVERRIDE;
Document* referencedDocument() const;
void setDocumentResource(ResourcePtr<DocumentResource>);
« 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