| Index: third_party/WebKit/Source/core/html/HTMLFormControlElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLFormControlElement.h b/third_party/WebKit/Source/core/html/HTMLFormControlElement.h
|
| index 0d2a9a180aab1be9a88a44d35dd0f8bc290e33f8..79334a5742306a002f7d121528d85f36ce1a849c 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLFormControlElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLFormControlElement.h
|
| @@ -26,6 +26,7 @@
|
| #define HTMLFormControlElement_h
|
|
|
| #include "core/CoreExport.h"
|
| +#include "core/html/FormAssociated.h"
|
| #include "core/html/LabelableElement.h"
|
| #include "core/html/ListedElement.h"
|
|
|
| @@ -43,7 +44,8 @@ enum CheckValidityEventBehavior {
|
| // ListedElement, and listed element implementations should use
|
| // HTMLFormControlElement unless there is a special reason.
|
| class CORE_EXPORT HTMLFormControlElement : public LabelableElement,
|
| - public ListedElement {
|
| + public ListedElement,
|
| + public FormAssociated {
|
| USING_GARBAGE_COLLECTED_MIXIN(HTMLFormControlElement);
|
|
|
| public:
|
| @@ -127,6 +129,9 @@ class CORE_EXPORT HTMLFormControlElement : public LabelableElement,
|
|
|
| void copyNonAttributePropertiesFromElement(const Element&) override;
|
|
|
| + FormAssociated* toFormAssociatedOrNull() override { return this; };
|
| + void associateWith(HTMLFormElement*) override;
|
| +
|
| protected:
|
| HTMLFormControlElement(const QualifiedName& tagName,
|
| Document&,
|
|
|