Chromium Code Reviews| 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..43838b1ca026aeabf057a1ecf2b50238d5e34482 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h |
| +++ b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h |
| @@ -25,11 +25,14 @@ 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; |
| + bool m_isPremultiplied = true; |
|
Justin Novosad
2016/03/29 14:39:53
Please add a note stating that the need to store t
xidachen
2016/03/29 15:41:01
Done.
|
| }; |
| } // namespace blink |