| 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 a85704f6f9d78973489f94032d4cdfaf13dd71cf..195cee7fc81881d57fa628fa01c5138cc4ceff0f 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| @@ -29,8 +29,7 @@
|
| #include "core/html/FormAssociated.h"
|
| #include "core/html/HTMLElement.h"
|
| #include "core/html/HTMLImageLoader.h"
|
| -#include "core/html/canvas/CanvasImageElementSource.h"
|
| -#include "core/imagebitmap/ImageBitmapSource.h"
|
| +#include "core/html/canvas/ImageElementBase.h"
|
| #include "platform/graphics/GraphicsTypes.h"
|
| #include "platform/loader/fetch/FetchParameters.h"
|
| #include "platform/loader/fetch/ResourceResponse.h"
|
| @@ -40,12 +39,10 @@ namespace blink {
|
| class HTMLFormElement;
|
| class ImageCandidate;
|
| class ShadowRoot;
|
| -class ImageBitmapOptions;
|
|
|
| class CORE_EXPORT HTMLImageElement final
|
| : public HTMLElement,
|
| - public CanvasImageElementSource,
|
| - public ImageBitmapSource,
|
| + public ImageElementBase,
|
| public ActiveScriptWrappable<HTMLImageElement>,
|
| public FormAssociated {
|
| DEFINE_WRAPPERTYPEINFO();
|
| @@ -133,14 +130,6 @@ class CORE_EXPORT HTMLImageElement final
|
|
|
| void ForceReload() const;
|
|
|
| - // ImageBitmapSource implementation
|
| - IntSize BitmapSourceSize() const override;
|
| - ScriptPromise CreateImageBitmap(ScriptState*,
|
| - EventTarget&,
|
| - Optional<IntRect> crop_rect,
|
| - const ImageBitmapOptions&,
|
| - ExceptionState&) override;
|
| -
|
| FormAssociated* ToFormAssociatedOrNull() override { return this; };
|
| void AssociateWith(HTMLFormElement*) override;
|
|
|
|
|