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

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

Issue 2939243002: cc/blink: Veto checker-imaging for multipart image resources. (Closed)
Patch Set: 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..a7b4de710b75e47a1d95a26b2f22c754c21b2008 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_multi_part = false) {
+ return AdoptRef(new BitmapImage(observer, is_multi_part));
}
~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&,

Powered by Google App Engine
This is Rietveld 408576698