Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit fdc36bc

Browse files
committed
++
1 parent 16cc78b commit fdc36bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

display_list/skia/dl_sk_conversions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ inline SkBlendMode ToSk(DlBlendMode mode) {
2121
inline SkColor ToSk(DlColor color) {
2222
// This is safe because both SkColor and DlColor are backed by ARGB uint32_t.
2323
// See dl_sk_conversions_unittests.cc.
24-
return reinterpret_cast<SkColor&>(color);
24+
return color.argb();
2525
}
2626

2727
inline SkPaint::Style ToSk(DlDrawStyle style) {

0 commit comments

Comments
 (0)