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

Unified Diff: third_party/WebKit/Source/platform/graphics/Image.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/Image.h
diff --git a/third_party/WebKit/Source/platform/graphics/Image.h b/third_party/WebKit/Source/platform/graphics/Image.h
index b4315a43f573ca78beedace401f7e723268c8f67..a7967c0a6be9de9a5e1193681969e991dba9b410 100644
--- a/third_party/WebKit/Source/platform/graphics/Image.h
+++ b/third_party/WebKit/Source/platform/graphics/Image.h
@@ -200,7 +200,7 @@ class PLATFORM_EXPORT Image : public ThreadSafeRefCounted<Image> {
const FloatSize& image_size);
protected:
- Image(ImageObserver* = 0);
+ Image(ImageObserver* = 0, bool is_multipart = false);
void DrawTiledBackground(GraphicsContext&,
const FloatRect& dst_rect,
@@ -236,6 +236,7 @@ class PLATFORM_EXPORT Image : public ThreadSafeRefCounted<Image> {
// alive, |image_observer_| is cleared by WeakPersistent mechanism.
WeakPersistent<ImageObserver> image_observer_;
PaintImage::Id stable_image_id_;
+ const bool is_multipart_;
};
#define DEFINE_IMAGE_TYPE_CASTS(typeName) \
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/BitmapImage.cpp ('k') | third_party/WebKit/Source/platform/graphics/Image.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698