| Index: third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLImageElement.h b/third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| index 1bc5c0cd1c677c4b104b4df99b2b9fc23ca74200..884a8b3e3bc289e59ad35537221e44199c9d17df 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| @@ -27,6 +27,7 @@
|
| #include "bindings/core/v8/ActiveScriptWrappable.h"
|
| #include "core/CoreExport.h"
|
| #include "core/fetch/FetchRequest.h"
|
| +#include "core/html/FormAssociated.h"
|
| #include "core/html/HTMLElement.h"
|
| #include "core/html/HTMLImageLoader.h"
|
| #include "core/html/canvas/CanvasImageSource.h"
|
| @@ -44,7 +45,8 @@ class ImageBitmapOptions;
|
| class CORE_EXPORT HTMLImageElement final : public HTMLElement,
|
| public CanvasImageSource,
|
| public ImageBitmapSource,
|
| - public ActiveScriptWrappable {
|
| + public ActiveScriptWrappable,
|
| + public FormAssociated {
|
| DEFINE_WRAPPERTYPEINFO();
|
| USING_GARBAGE_COLLECTED_MIXIN(HTMLImageElement);
|
|
|
| @@ -140,6 +142,9 @@ class CORE_EXPORT HTMLImageElement final : public HTMLElement,
|
| const ImageBitmapOptions&,
|
| ExceptionState&) override;
|
|
|
| + FormAssociated* toFormAssociatedOrNull() override { return this; };
|
| + void associateWith(HTMLFormElement*) override;
|
| +
|
| protected:
|
| explicit HTMLImageElement(Document&,
|
| HTMLFormElement* = 0,
|
|
|