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

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

Issue 1212253012: Fix virtual/override/final usage in Source/core/svg/. (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
Index: Source/core/svg/SVGStyleElement.h
diff --git a/Source/core/svg/SVGStyleElement.h b/Source/core/svg/SVGStyleElement.h
index 1b1a919abe33eafb7404491a02d0f064051bd99a..aaf6b1a999bb54b7309c8b446cb2bb6be02d8806 100644
--- a/Source/core/svg/SVGStyleElement.h
+++ b/Source/core/svg/SVGStyleElement.h
@@ -37,20 +37,20 @@ class SVGStyleElement final : public SVGElement
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGStyleElement);
public:
static PassRefPtrWillBeRawPtr<SVGStyleElement> create(Document&, bool createdByParser);
- virtual ~SVGStyleElement();
+ ~SVGStyleElement() override;
using StyleElement::sheet;
bool disabled() const;
void setDisabled(bool);
- virtual const AtomicString& type() const override;
+ const AtomicString& type() const override;
void setType(const AtomicString&);
- virtual const AtomicString& media() const override;
+ const AtomicString& media() const override;
void setMedia(const AtomicString&);
- virtual String title() const override;
+ String title() const override;
void setTitle(const AtomicString&);
void dispatchPendingEvent(SVGStyleEventSender*);
@@ -60,18 +60,18 @@ public:
private:
SVGStyleElement(Document&, bool createdByParser);
- 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;
+ void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ InsertionNotificationRequest insertedInto(ContainerNode*) override;
+ void didNotifySubtreeInsertionsToDocument() override;
+ void removedFrom(ContainerNode*) override;
+ void childrenChanged(const ChildrenChange&) override;
- virtual void finishParsingChildren() override;
- virtual bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; }
+ void finishParsingChildren() override;
+ bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; }
- virtual bool sheetLoaded() override { return StyleElement::sheetLoaded(document()); }
- virtual void notifyLoadedSheetAndAllCriticalSubresources(LoadedSheetErrorStatus) override;
- virtual void startLoadingDynamicSheet() override { StyleElement::startLoadingDynamicSheet(document()); }
+ bool sheetLoaded() override { return StyleElement::sheetLoaded(document()); }
+ void notifyLoadedSheetAndAllCriticalSubresources(LoadedSheetErrorStatus) override;
+ void startLoadingDynamicSheet() override { StyleElement::startLoadingDynamicSheet(document()); }
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698