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

Unified Diff: Source/core/html/HTMLBodyElement.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/HTMLBaseElement.h ('k') | Source/core/html/HTMLButtonElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLBodyElement.h
diff --git a/Source/core/html/HTMLBodyElement.h b/Source/core/html/HTMLBodyElement.h
index 3709c46a7d78d39a786f7f04de1c0334977f0b87..494aae424401d1409f03a70b5b79b0d583dcb528 100644
--- a/Source/core/html/HTMLBodyElement.h
+++ b/Source/core/html/HTMLBodyElement.h
@@ -36,7 +36,7 @@ class CORE_EXPORT HTMLBodyElement final : public HTMLElement {
DEFINE_WRAPPERTYPEINFO();
public:
DECLARE_NODE_FACTORY(HTMLBodyElement);
- virtual ~HTMLBodyElement();
+ ~HTMLBodyElement() override;
DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(blur);
DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(error);
@@ -49,18 +49,18 @@ public:
private:
explicit HTMLBodyElement(Document&);
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
- virtual bool isPresentationAttribute(const QualifiedName&) const override;
- virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) override;
+ void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ bool isPresentationAttribute(const QualifiedName&) const override;
+ void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) override;
- virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
- virtual void didNotifySubtreeInsertionsToDocument() override;
+ InsertionNotificationRequest insertedInto(ContainerNode*) override;
+ void didNotifySubtreeInsertionsToDocument() override;
- virtual bool isURLAttribute(const Attribute&) const override;
- virtual bool hasLegalLinkAttribute(const QualifiedName&) const override;
- virtual const QualifiedName& subResourceAttributeName() const override;
+ bool isURLAttribute(const Attribute&) const override;
+ bool hasLegalLinkAttribute(const QualifiedName&) const override;
+ const QualifiedName& subResourceAttributeName() const override;
- virtual bool supportsFocus() const override;
+ bool supportsFocus() const override;
};
} // namespace blink
« no previous file with comments | « Source/core/html/HTMLBaseElement.h ('k') | Source/core/html/HTMLButtonElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698