mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
chore: bump chromium to 129.0.6668.0 (main) (#43368)
* chore: bump chromium in DEPS to 129.0.6668.0 * 5787687: [Extensions] Remove EventRouterForwarder from BrowserProcess https://chromium-review.googlesource.com/c/chromium/src/+/5787687 * 5788808: Resolve Blob URL's origin using info from browser process https://chromium-review.googlesource.com/c/chromium/src/+/5788808 * chore: fixup patch indices * 5786747: Remove "int WriteFile" https://chromium-review.googlesource.com/c/chromium/src/+/5786747 --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
committed by
GitHub
parent
945aabfaee
commit
2cc14c6e8f
@@ -37,9 +37,7 @@ bool SaveIconToPath(const SkBitmap& bitmap, const base::FilePath& path) {
|
||||
if (!gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &png_data))
|
||||
return false;
|
||||
|
||||
char* data = reinterpret_cast<char*>(&png_data[0]);
|
||||
int size = static_cast<int>(png_data.size());
|
||||
return base::WriteFile(path, data, size) == size;
|
||||
return base::WriteFile(path, png_data);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user