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

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

Issue 2035113002: Implement ImageBitmapOptions resize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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
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 1e6e3db9db56924decb8f44f2124148eb065a267..020c57bc4c6cc471499028bd1512be665ae879b9 100644
--- a/third_party/WebKit/Source/core/frame/ImageBitmap.h
+++ b/third_party/WebKit/Source/core/frame/ImageBitmap.h
@@ -79,16 +79,16 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- ImageBitmap(HTMLImageElement*, const IntRect&, Document*, const ImageBitmapOptions&);
- ImageBitmap(HTMLVideoElement*, const IntRect&, Document*, const ImageBitmapOptions&);
- ImageBitmap(HTMLCanvasElement*, const IntRect&, const ImageBitmapOptions&);
- ImageBitmap(ImageData*, const IntRect&, const ImageBitmapOptions&, const bool&, const bool&);
- ImageBitmap(ImageBitmap*, const IntRect&, const ImageBitmapOptions&);
+ ImageBitmap(HTMLImageElement*, IntRect&, Document*, const ImageBitmapOptions&);
+ ImageBitmap(HTMLVideoElement*, IntRect&, Document*, const ImageBitmapOptions&);
+ ImageBitmap(HTMLCanvasElement*, IntRect&, const ImageBitmapOptions&);
+ ImageBitmap(ImageData*, IntRect&, const ImageBitmapOptions&, const bool&, const bool&);
+ ImageBitmap(ImageBitmap*, IntRect&, const ImageBitmapOptions&);
ImageBitmap(PassRefPtr<StaticBitmapImage>);
- ImageBitmap(PassRefPtr<StaticBitmapImage>, const IntRect&, const ImageBitmapOptions&);
+ ImageBitmap(PassRefPtr<StaticBitmapImage>, IntRect&, const ImageBitmapOptions&);
ImageBitmap(WebExternalTextureMailbox&);
- void parseOptions(const ImageBitmapOptions&, bool&, bool&);
+ void parseOptions(const ImageBitmapOptions&, bool&, bool&, unsigned&, unsigned&, SkFilterQuality&);
RefPtr<StaticBitmapImage> m_image;
bool m_isNeutered = false;

Powered by Google App Engine
This is Rietveld 408576698