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 BrowserProcess5787687
* 5788808: Resolve Blob URL's origin using info from browser process5788808
* chore: fixup patch indices * 5786747: Remove "int WriteFile"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:
parent
945aabfaee
commit
2cc14c6e8f
23 changed files with 58 additions and 69 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue