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

Unified Diff: Source/core/html/LabelableElement.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/ImageDocument.cpp ('k') | Source/core/html/LabelsNodeList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/LabelableElement.h
diff --git a/Source/core/html/LabelableElement.h b/Source/core/html/LabelableElement.h
index 13fd0a4be9b0ddac65997bfe886f248b70367717..175d27792b170bac859c7904785b4538d7680b35 100644
--- a/Source/core/html/LabelableElement.h
+++ b/Source/core/html/LabelableElement.h
@@ -42,7 +42,7 @@ class LabelsNodeList;
// specification, and provides the implementation of the "labels" attribute.
class CORE_EXPORT LabelableElement : public HTMLElement {
public:
- virtual ~LabelableElement();
+ ~LabelableElement() override;
PassRefPtrWillBeRawPtr<LabelsNodeList> labels();
virtual bool supportLabels() const { return false; }
@@ -52,7 +52,7 @@ protected:
LabelableElement(const QualifiedName& tagName, Document&);
private:
- virtual bool isLabelable() const override final { return true; }
+ bool isLabelable() const final { return true; }
};
inline bool isLabelableElement(const HTMLElement& element)
« no previous file with comments | « Source/core/html/ImageDocument.cpp ('k') | Source/core/html/LabelsNodeList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698