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

Unified Diff: Source/core/dom/shadow/InsertionPoint.h

Issue 1219063013: Fix virtual/override/final usage in Source/core/dom/. (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/dom/custom/CustomElementUpgradeCandidateMap.h ('k') | Source/core/dom/shadow/ShadowRoot.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/shadow/InsertionPoint.h
diff --git a/Source/core/dom/shadow/InsertionPoint.h b/Source/core/dom/shadow/InsertionPoint.h
index ddf3bf50e8d628dde9768ed1db4864610e789464..6f9e6731fc47885251a0d76a6b54fed32721cf9c 100644
--- a/Source/core/dom/shadow/InsertionPoint.h
+++ b/Source/core/dom/shadow/InsertionPoint.h
@@ -41,7 +41,7 @@ namespace blink {
class CORE_EXPORT InsertionPoint : public HTMLElement {
public:
- virtual ~InsertionPoint();
+ ~InsertionPoint() override;
bool hasDistribution() const { return !m_distributedNodes.isEmpty(); }
void setDistributedNodes(DistributedNodes&);
@@ -56,8 +56,8 @@ public:
virtual bool canAffectSelector() const { return false; }
- virtual void attach(const AttachContext& = AttachContext()) override;
- virtual void detach(const AttachContext& = AttachContext()) override;
+ void attach(const AttachContext& = AttachContext()) override;
+ void detach(const AttachContext& = AttachContext()) override;
bool shouldUseFallbackElements() const;
@@ -72,11 +72,11 @@ public:
protected:
InsertionPoint(const QualifiedName&, Document&);
- virtual bool layoutObjectIsNeeded(const ComputedStyle&) override;
- virtual void childrenChanged(const ChildrenChange&) override;
- virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
- virtual void removedFrom(ContainerNode*) override;
- virtual void willRecalcStyle(StyleRecalcChange) override;
+ bool layoutObjectIsNeeded(const ComputedStyle&) override;
+ void childrenChanged(const ChildrenChange&) override;
+ InsertionNotificationRequest insertedInto(ContainerNode*) override;
+ void removedFrom(ContainerNode*) override;
+ void willRecalcStyle(StyleRecalcChange) override;
private:
bool isInsertionPoint() const = delete; // This will catch anyone doing an unnecessary check.
« no previous file with comments | « Source/core/dom/custom/CustomElementUpgradeCandidateMap.h ('k') | Source/core/dom/shadow/ShadowRoot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698