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

Unified Diff: third_party/WebKit/Source/platform/graphics/BitmapImage.h

Issue 2939243002: cc/blink: Veto checker-imaging for multipart image resources. (Closed)
Patch Set: tested Created 3 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/platform/graphics/BitmapImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImage.h b/third_party/WebKit/Source/platform/graphics/BitmapImage.h
index e93ed07e54be4702a3a48532a1664f30c704dc71..1263924121f1b8972b41b3204e9927d28c01b936 100644
--- a/third_party/WebKit/Source/platform/graphics/BitmapImage.h
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImage.h
@@ -51,8 +51,9 @@ class PLATFORM_EXPORT BitmapImage final : public Image {
friend class GraphicsContext;
public:
- static PassRefPtr<BitmapImage> Create(ImageObserver* observer = 0) {
- return AdoptRef(new BitmapImage(observer));
+ static PassRefPtr<BitmapImage> Create(ImageObserver* observer = 0,
+ bool is_multipart = false) {
+ return AdoptRef(new BitmapImage(observer, is_multipart));
}
~BitmapImage() override;
@@ -109,7 +110,7 @@ class PLATFORM_EXPORT BitmapImage final : public Image {
};
BitmapImage(const SkBitmap&, ImageObserver* = 0);
- BitmapImage(ImageObserver* = 0);
+ BitmapImage(ImageObserver* = 0, bool is_multi_part = false);
void Draw(PaintCanvas*,
const PaintFlags&,
« no previous file with comments | « third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp ('k') | third_party/WebKit/Source/platform/graphics/BitmapImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698