| 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 f4a5c8c901d8695641345da02626b0bb2929f7e4..4cd85251a64fce859ec3c7966c47841c61f83873 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/HTMLAndSVGImageElementSource.h"
|
| #include "platform/graphics/GraphicsTypes.h"
|
| #include "platform/loader/fetch/FetchRequest.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 HTMLAndSVGImageElementSource,
|
| public ActiveScriptWrappable<HTMLImageElement>,
|
| public FormAssociated {
|
| DEFINE_WRAPPERTYPEINFO();
|
| @@ -130,14 +127,6 @@ class CORE_EXPORT HTMLImageElement final
|
|
|
| void forceReload() const;
|
|
|
| - // ImageBitmapSource implementation
|
| - IntSize bitmapSourceSize() const override;
|
| - ScriptPromise createImageBitmap(ScriptState*,
|
| - EventTarget&,
|
| - Optional<IntRect> cropRect,
|
| - const ImageBitmapOptions&,
|
| - ExceptionState&) override;
|
| -
|
| FormAssociated* toFormAssociatedOrNull() override { return this; };
|
| void associateWith(HTMLFormElement*) override;
|
|
|
|
|