Skip to content

Commit 9cb708d

Browse files
committed
fixup: Change gfx::[PNG|JPEG]Codec::Decode to return a SkBitmap
1 parent c59278d commit 9cb708d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shell/browser/notifications/win/notification_presenter_win.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ bool SaveIconToPath(const SkBitmap& bitmap, const base::FilePath& path) {
3737
if (!png_data.has_value())
3838
return false;
3939

40-
return base::WriteFile(path, png_data);
40+
return base::WriteFile(path, png_data.value());
4141
}
4242

4343
} // namespace

0 commit comments

Comments
 (0)