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

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

Issue 1797313002: Make ImageBitmap transferable work with ImageBitmapOptions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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/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

Powered by Google App Engine
This is Rietveld 408576698