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 20ec7f30991e0658f2b9619285a2814c70b77ebc..f44fff55bfc2b2da01624f0f5921aa17ee76aaf4 100644 |
--- a/third_party/WebKit/Source/core/frame/ImageBitmap.cpp |
+++ b/third_party/WebKit/Source/core/frame/ImageBitmap.cpp |
@@ -554,7 +554,7 @@ static PassRefPtr<StaticBitmapImage> CropImageAndApplyColorSpaceConversion( |
return StaticBitmapImage::Create(PremulSkImageToUnPremul(skia_image.get())); |
} |
-ImageBitmap::ImageBitmap(HTMLImageElement* image, |
+ImageBitmap::ImageBitmap(HTMLAndSVGImageElementSource* image, |
Optional<IntRect> crop_rect, |
Document* document, |
const ImageBitmapOptions& options) { |
@@ -997,7 +997,7 @@ PassRefPtr<StaticBitmapImage> ImageBitmap::Transfer() { |
ImageBitmap::~ImageBitmap() {} |
-ImageBitmap* ImageBitmap::Create(HTMLImageElement* image, |
+ImageBitmap* ImageBitmap::Create(HTMLAndSVGImageElementSource* image, |
Optional<IntRect> crop_rect, |
Document* document, |
const ImageBitmapOptions& options) { |