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 74e0cefdb8c8c8bfb85ccbcd086c6a89733e8317..abd27381ab4412597915331ac11630fa44da9043 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(ImageElementBase* image, |
Optional<IntRect> crop_rect, |
Document* document, |
const ImageBitmapOptions& options) { |
@@ -996,7 +996,7 @@ PassRefPtr<StaticBitmapImage> ImageBitmap::Transfer() { |
ImageBitmap::~ImageBitmap() {} |
-ImageBitmap* ImageBitmap::Create(HTMLImageElement* image, |
+ImageBitmap* ImageBitmap::Create(ImageElementBase* image, |
Optional<IntRect> crop_rect, |
Document* document, |
const ImageBitmapOptions& options) { |