Index: third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h |
diff --git a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h |
index bd36802ec110e53a8839116912b8bc28f06a2fe2..18c2f8308570d9e3aa4ef55206a035658ddd0256 100644 |
--- a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h |
+++ b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h |
@@ -25,11 +25,16 @@ public: |
bool originClean() const { return m_isOriginClean; } |
void setOriginClean(bool flag) { m_isOriginClean = flag; } |
+ bool isPremultiplied() const { return m_isPremultiplied; } |
+ void setPremultiplied(bool flag) { m_isPremultiplied = flag; } |
protected: |
StaticBitmapImage(PassRefPtr<SkImage>); |
RefPtr<SkImage> m_image; |
bool m_isOriginClean = true; |
+ // The premultiply info is stored here because the SkImage API |
+ // doesn't expose this info. |
+ bool m_isPremultiplied = true; |
}; |
} // namespace blink |