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

Unified Diff: Source/core/dom/ContainerNode.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/Comment.h ('k') | Source/core/dom/CrossThreadTask.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ContainerNode.h
diff --git a/Source/core/dom/ContainerNode.h b/Source/core/dom/ContainerNode.h
index fb8227dcb01037b4cec4fe7d6b6ed9bcdc4994b6..890fcf1417aabb55bf3e7903b7c9422b3c0d43bb 100644
--- a/Source/core/dom/ContainerNode.h
+++ b/Source/core/dom/ContainerNode.h
@@ -70,7 +70,7 @@ using NodeVector = WillBeHeapVector<RefPtrWillBeMember<Node>, initialNodeVectorS
class CORE_EXPORT ContainerNode : public Node {
public:
- virtual ~ContainerNode();
+ ~ContainerNode() override;
Node* firstChild() const { return m_firstChild; }
Node* lastChild() const { return m_lastChild; }
@@ -110,13 +110,13 @@ public:
void cloneChildNodes(ContainerNode* clone);
- virtual void attach(const AttachContext& = AttachContext()) override;
- virtual void detach(const AttachContext& = AttachContext()) override;
- virtual LayoutRect boundingBox() const override final;
- virtual void setFocus(bool) override;
+ void attach(const AttachContext& = AttachContext()) override;
+ void detach(const AttachContext& = AttachContext()) override;
+ LayoutRect boundingBox() const final;
+ void setFocus(bool) override;
void focusStateChanged();
- virtual void setActive(bool = true) override;
- virtual void setHovered(bool = true) override;
+ void setActive(bool = true) override;
+ void setHovered(bool = true) override;
bool childrenOrSiblingsAffectedByFocus() const { return hasRestyleFlag(ChildrenOrSiblingsAffectedByFocus); }
void setChildrenOrSiblingsAffectedByFocus() { setRestyleFlag(ChildrenOrSiblingsAffectedByFocus); }
« no previous file with comments | « Source/core/dom/Comment.h ('k') | Source/core/dom/CrossThreadTask.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698