electron/shell
trop[bot] 7d207c7a3b
refactor: use GetDefaultStoragePartition() instead of GetStoragePartition(nullptr) (#46084)
refactor: use GetDefaultStoragePartition()

Use GetDefaultStorageParition() instead of GetStoragePartition(nullptr)

- It improves code uniformity, since we use get-default everywhere else
- It's more readable
- It's marginally faster, since GetStoragePartition() has more steps

Added in https://github.com/electron/electron/pull/28907/commits/49b0a1bf4a6c032d1788aac56c1e5eaa0f61e3d3

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-03-18 13:21:03 +01:00
..
app refactor: remove unused system header includes (#46042) 2025-03-15 00:33:33 -05:00
browser refactor: use GetDefaultStoragePartition() instead of GetStoragePartition(nullptr) (#46084) 2025-03-18 13:21:03 +01:00
common refactor: remove unused system header includes (#46042) 2025-03-15 00:33:33 -05:00
renderer refactor: replace base::StringPrintf() calls with absl::StrFormat() (#46049) 2025-03-15 11:23:10 -05:00
services/node refactor: use private inheritance from mojo::MessageReceiver (#45993) 2025-03-12 23:19:17 -05:00
utility fix: broken OOP window.print() on macOS/Linux (#45259) 2025-01-20 10:37:35 -06:00