Index: Source/core/html/HTMLOptionElement.h |
diff --git a/Source/core/html/HTMLOptionElement.h b/Source/core/html/HTMLOptionElement.h |
index b7fefa2084f24c0ee654b4c7d0e76422584e3304..b4fd56b688a11b951b7876cec432c19bc0826dac 100644 |
--- a/Source/core/html/HTMLOptionElement.h |
+++ b/Source/core/html/HTMLOptionElement.h |
@@ -33,7 +33,7 @@ class ExceptionState; |
class HTMLDataListElement; |
class HTMLSelectElement; |
-class HTMLOptionElement FINAL : public HTMLElement { |
+class HTMLOptionElement final : public HTMLElement { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
static PassRefPtrWillBeRawPtr<HTMLOptionElement> create(Document&); |
@@ -59,7 +59,7 @@ public: |
bool ownElementDisabled() const { return m_disabled; } |
- virtual bool isDisabledFormControl() const OVERRIDE; |
+ virtual bool isDisabledFormControl() const override; |
String textIndentedToRespectGroupLabel() const; |
@@ -73,21 +73,21 @@ private: |
explicit HTMLOptionElement(Document&); |
virtual ~HTMLOptionElement(); |
- virtual bool rendererIsFocusable() const OVERRIDE { return true; } |
- virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
- virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; |
- virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
- virtual void removedFrom(ContainerNode*) OVERRIDE; |
- virtual void accessKeyAction(bool) OVERRIDE; |
- virtual void childrenChanged(const ChildrenChange&) OVERRIDE; |
+ virtual bool rendererIsFocusable() const override { return true; } |
+ virtual void attach(const AttachContext& = AttachContext()) override; |
+ virtual void detach(const AttachContext& = AttachContext()) override; |
+ virtual void parseAttribute(const QualifiedName&, const AtomicString&) override; |
+ virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; |
+ virtual void removedFrom(ContainerNode*) override; |
+ virtual void accessKeyAction(bool) override; |
+ virtual void childrenChanged(const ChildrenChange&) override; |
// <option> never has a renderer so we manually manage a cached style. |
void updateNonRenderStyle(); |
- virtual RenderStyle* nonRendererStyle() const OVERRIDE; |
- virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE; |
- virtual void didRecalcStyle(StyleRecalcChange) OVERRIDE; |
- virtual void didAddUserAgentShadowRoot(ShadowRoot&) OVERRIDE; |
+ virtual RenderStyle* nonRendererStyle() const override; |
+ virtual PassRefPtr<RenderStyle> customStyleForRenderer() override; |
+ virtual void didRecalcStyle(StyleRecalcChange) override; |
+ virtual void didAddUserAgentShadowRoot(ShadowRoot&) override; |
String collectOptionInnerText() const; |