chore: bump chromium to 126.0.6478.114 (31-x-y) (#42584)

* chore: bump chromium in DEPS to 126.0.6478.114

* chore: update patches

* Fix decoration insets getting out-of-sync

 5636771

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
electron-roller[bot] 2024-06-22 20:20:18 +02:00 committed by GitHub
parent 3e92b72aef
commit 04b6a162ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 6 deletions

View file

@ -47,8 +47,11 @@ void ElectronDesktopWindowTreeHostLinux::OnWidgetInitDone() {
gfx::Insets ElectronDesktopWindowTreeHostLinux::CalculateInsetsInDIP(
ui::PlatformWindowState window_state) const {
// If we are not showing frame, the insets should be zero.
if (!native_window_view_->IsFullscreen()) {
// If we are not showing frame, or we are not dealing with a
// ClientFrameViewLinux the insets should be zero.
if (!native_window_view_->IsFullscreen() ||
!native_window_view_->has_frame() ||
!native_window_view_->has_client_frame()) {
return gfx::Insets();
}