| Index: third_party/WebKit/Source/core/frame/ImageBitmap.h
|
| diff --git a/third_party/WebKit/Source/core/frame/ImageBitmap.h b/third_party/WebKit/Source/core/frame/ImageBitmap.h
|
| index 99fd4d56562ff925fa6ae68234bab2d1d45a154e..bfdbf1ffcc56f02d3b25cea2ef30000e4f965f1f 100644
|
| --- a/third_party/WebKit/Source/core/frame/ImageBitmap.h
|
| +++ b/third_party/WebKit/Source/core/frame/ImageBitmap.h
|
| @@ -5,12 +5,14 @@
|
| #ifndef ImageBitmap_h
|
| #define ImageBitmap_h
|
|
|
| +#include <memory>
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "core/CoreExport.h"
|
| #include "core/html/HTMLImageElement.h"
|
| #include "core/html/canvas/CanvasImageSource.h"
|
| #include "core/imagebitmap/ImageBitmapOptions.h"
|
| #include "core/imagebitmap/ImageBitmapSource.h"
|
| +#include "core/svg/SVGImageElement.h"
|
| #include "platform/geometry/IntRect.h"
|
| #include "platform/graphics/Image.h"
|
| #include "platform/graphics/ImageBuffer.h"
|
| @@ -18,7 +20,6 @@
|
| #include "platform/heap/Handle.h"
|
| #include "third_party/skia/include/core/SkRefCnt.h"
|
| #include "wtf/PassRefPtr.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
| class HTMLCanvasElement;
|
| @@ -52,6 +53,10 @@ class CORE_EXPORT ImageBitmap final
|
| Optional<IntRect>,
|
| Document*,
|
| const ImageBitmapOptions& = ImageBitmapOptions());
|
| + static ImageBitmap* create(SVGImageElement*,
|
| + Optional<IntRect>,
|
| + Document*,
|
| + const ImageBitmapOptions& = ImageBitmapOptions());
|
| static ImageBitmap* create(HTMLVideoElement*,
|
| Optional<IntRect>,
|
| Document*,
|
| @@ -143,6 +148,10 @@ class CORE_EXPORT ImageBitmap final
|
| Optional<IntRect>,
|
| Document*,
|
| const ImageBitmapOptions&);
|
| + ImageBitmap(SVGImageElement*,
|
| + Optional<IntRect>,
|
| + Document*,
|
| + const ImageBitmapOptions&);
|
| ImageBitmap(HTMLVideoElement*,
|
| Optional<IntRect>,
|
| Document*,
|
|
|