Index: third_party/WebKit/Source/core/frame/ImageBitmap.cpp |
diff --git a/third_party/WebKit/Source/core/frame/ImageBitmap.cpp b/third_party/WebKit/Source/core/frame/ImageBitmap.cpp |
index c3cd961a5b12b29186bb1a6b3c37db276e19f1b6..a0d73073519ff5dc347be733d6cfbfe8f371160d 100644 |
--- a/third_party/WebKit/Source/core/frame/ImageBitmap.cpp |
+++ b/third_party/WebKit/Source/core/frame/ImageBitmap.cpp |
@@ -551,7 +551,7 @@ static PassRefPtr<StaticBitmapImage> cropImageAndApplyColorSpaceConversion( |
return StaticBitmapImage::create(premulSkImageToUnPremul(skiaImage.get())); |
} |
-ImageBitmap::ImageBitmap(HTMLImageElement* image, |
+ImageBitmap::ImageBitmap(HTMLAndSVGImageElementSource* image, |
Optional<IntRect> cropRect, |
Document* document, |
const ImageBitmapOptions& options) { |
@@ -983,7 +983,7 @@ PassRefPtr<StaticBitmapImage> ImageBitmap::transfer() { |
ImageBitmap::~ImageBitmap() {} |
-ImageBitmap* ImageBitmap::create(HTMLImageElement* image, |
+ImageBitmap* ImageBitmap::create(HTMLAndSVGImageElementSource* image, |
Optional<IntRect> cropRect, |
Document* document, |
const ImageBitmapOptions& options) { |