| Index: third_party/WebKit/Source/core/html/HTMLObjectElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLObjectElement.h b/third_party/WebKit/Source/core/html/HTMLObjectElement.h
|
| index fea5c46594473c6a7982fafad5c74048df212207..818329ec32f41cb532f59e0dd4af08dc11de91a0 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLObjectElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLObjectElement.h
|
| @@ -24,6 +24,7 @@
|
| #define HTMLObjectElement_h
|
|
|
| #include "core/CoreExport.h"
|
| +#include "core/html/FormAssociated.h"
|
| #include "core/html/HTMLPlugInElement.h"
|
| #include "core/html/ListedElement.h"
|
|
|
| @@ -36,7 +37,8 @@ class HTMLFormElement;
|
| // working according to the spec. See:
|
| // https://html.spec.whatwg.org/multipage/embedded-content.html#the-object-element
|
| class CORE_EXPORT HTMLObjectElement final : public HTMLPlugInElement,
|
| - public ListedElement {
|
| + public ListedElement,
|
| + public FormAssociated {
|
| DEFINE_WRAPPERTYPEINFO();
|
| USING_GARBAGE_COLLECTED_MIXIN(HTMLObjectElement);
|
|
|
| @@ -76,6 +78,9 @@ class CORE_EXPORT HTMLObjectElement final : public HTMLPlugInElement,
|
|
|
| bool willUseFallbackContentAtLayout() const;
|
|
|
| + FormAssociated* toFormAssociatedOrNull() override { return this; };
|
| + void associateWith(HTMLFormElement*) override;
|
| +
|
| private:
|
| HTMLObjectElement(Document&, HTMLFormElement*, bool createdByParser);
|
|
|
|
|