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

Unified Diff: Source/core/svg/SVGStyleElement.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/SVGStringList.h ('k') | Source/core/svg/SVGSwitchElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGStyleElement.h
diff --git a/Source/core/svg/SVGStyleElement.h b/Source/core/svg/SVGStyleElement.h
index 4edabf2d0a6f0631685d9c8298a8a23cf02ab875..4705fc66494fa5c001473ea32a52a5ea45ed064f 100644
--- a/Source/core/svg/SVGStyleElement.h
+++ b/Source/core/svg/SVGStyleElement.h
@@ -27,7 +27,7 @@
namespace blink {
-class SVGStyleElement FINAL : public SVGElement
+class SVGStyleElement final : public SVGElement
, public StyleElement {
DEFINE_WRAPPERTYPEINFO();
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGStyleElement);
@@ -40,33 +40,33 @@ public:
bool disabled() const;
void setDisabled(bool);
- virtual const AtomicString& type() const OVERRIDE;
+ virtual const AtomicString& type() const override;
void setType(const AtomicString&);
- virtual const AtomicString& media() const OVERRIDE;
+ virtual const AtomicString& media() const override;
void setMedia(const AtomicString&);
- virtual String title() const OVERRIDE;
+ virtual String title() const override;
void setTitle(const AtomicString&);
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
SVGStyleElement(Document&, bool createdByParser);
bool isSupportedAttribute(const QualifiedName&);
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
- virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
- virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE;
- virtual void removedFrom(ContainerNode*) OVERRIDE;
- virtual void childrenChanged(const ChildrenChange&) OVERRIDE;
-
- virtual void finishParsingChildren() OVERRIDE;
- virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; }
-
- virtual bool sheetLoaded() OVERRIDE { return StyleElement::sheetLoaded(document()); }
- virtual void startLoadingDynamicSheet() OVERRIDE { StyleElement::startLoadingDynamicSheet(document()); }
- virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadEventTimer; }
+ virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
+ virtual void didNotifySubtreeInsertionsToDocument() override;
+ virtual void removedFrom(ContainerNode*) override;
+ virtual void childrenChanged(const ChildrenChange&) override;
+
+ virtual void finishParsingChildren() override;
+ virtual bool rendererIsNeeded(const RenderStyle&) override { return false; }
+
+ virtual bool sheetLoaded() override { return StyleElement::sheetLoaded(document()); }
+ virtual void startLoadingDynamicSheet() override { StyleElement::startLoadingDynamicSheet(document()); }
+ virtual Timer<SVGElement>* svgLoadEventTimer() override { return &m_svgLoadEventTimer; }
Timer<SVGElement> m_svgLoadEventTimer;
};
« no previous file with comments | « Source/core/svg/SVGStringList.h ('k') | Source/core/svg/SVGSwitchElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698