Fix SkPixelXorXfermode serialization bug
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1647963002 Review URL: https://codereview.chromium.org/1647963002
This commit is contained in:
parent
7579786f3b
commit
5381b81af2
@ -21,7 +21,9 @@ SkPMColor SkPixelXorXfermode::xferColor(SkPMColor src, SkPMColor dst) const {
|
||||
}
|
||||
|
||||
void SkPixelXorXfermode::flatten(SkWriteBuffer& wb) const {
|
||||
wb.writeColor(fOpColor);
|
||||
wb.writeColor(SkColorSetRGB(SkGetPackedR32(fOpColor),
|
||||
SkGetPackedG32(fOpColor),
|
||||
SkGetPackedB32(fOpColor)));
|
||||
}
|
||||
|
||||
SkFlattenable* SkPixelXorXfermode::CreateProc(SkReadBuffer& buffer) {
|
||||
|
Loading…
Reference in New Issue
Block a user