Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: third_party/WebKit/Source/core/frame/ImageBitmap.cpp

Issue 2802813002: Adds SVGImageElement as a ImageBitmapSource (Closed)
Patch Set: x Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/frame/ImageBitmap.h ('k') | third_party/WebKit/Source/core/html/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « third_party/WebKit/Source/core/frame/ImageBitmap.h ('k') | third_party/WebKit/Source/core/html/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698