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

Unified Diff: Source/core/html/HTMLStyleElement.h

Issue 1219013005: Fix virtual/override/final usage in Source/core/html/. (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/html/HTMLSourceElement.cpp ('k') | Source/core/html/HTMLSummaryElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLStyleElement.h
diff --git a/Source/core/html/HTMLStyleElement.h b/Source/core/html/HTMLStyleElement.h
index 24735946eccaa25e8da70709d28fcc514f3fa242..cca408c60f444fed6c22b96726e959ff4d772609 100644
--- a/Source/core/html/HTMLStyleElement.h
+++ b/Source/core/html/HTMLStyleElement.h
@@ -38,7 +38,7 @@ class HTMLStyleElement final : public HTMLElement, private StyleElement {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLStyleElement);
public:
static PassRefPtrWillBeRawPtr<HTMLStyleElement> create(Document&, bool createdByParser);
- virtual ~HTMLStyleElement();
+ ~HTMLStyleElement() override;
ContainerNode* scopingNode();
@@ -56,20 +56,20 @@ private:
HTMLStyleElement(Document&, bool createdByParser);
// overload from HTMLElement
- 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;
+ void finishParsingChildren() override;
- 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()); }
- virtual const AtomicString& media() const override;
- virtual const AtomicString& type() const override;
+ const AtomicString& media() const override;
+ const AtomicString& type() const override;
bool m_firedLoad;
bool m_loadedSheet;
« no previous file with comments | « Source/core/html/HTMLSourceElement.cpp ('k') | Source/core/html/HTMLSummaryElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698