From 7721fdf886828060a7460a84a0db3ef5da10593a Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sat, 10 Aug 2024 18:55:10 -0500 Subject: [PATCH] chore: remove unused method ElectronDesktopWindowTreeHostLinux::UpdateClientDecorationHints() (#43283) Xref: https://github.com/electron/electron/pull/41868/commits/dff980c9c20da444fb853b6983eb75d48714b486 Removed in #41868 --- shell/browser/ui/electron_desktop_window_tree_host_linux.cc | 4 ---- shell/browser/ui/electron_desktop_window_tree_host_linux.h | 1 - 2 files changed, 5 deletions(-) diff --git a/shell/browser/ui/electron_desktop_window_tree_host_linux.cc b/shell/browser/ui/electron_desktop_window_tree_host_linux.cc index eb0723f78a32..eb2999311ef0 100644 --- a/shell/browser/ui/electron_desktop_window_tree_host_linux.cc +++ b/shell/browser/ui/electron_desktop_window_tree_host_linux.cc @@ -253,8 +253,4 @@ void ElectronDesktopWindowTreeHostLinux::UpdateFrameHints() { SizeConstraintsChanged(); } } - -void ElectronDesktopWindowTreeHostLinux::UpdateClientDecorationHints( - ClientFrameViewLinux* view) {} - } // namespace electron diff --git a/shell/browser/ui/electron_desktop_window_tree_host_linux.h b/shell/browser/ui/electron_desktop_window_tree_host_linux.h index f68b219c23d3..38d295b835e4 100644 --- a/shell/browser/ui/electron_desktop_window_tree_host_linux.h +++ b/shell/browser/ui/electron_desktop_window_tree_host_linux.h @@ -62,7 +62,6 @@ class ElectronDesktopWindowTreeHostLinux void UpdateFrameHints() override; private: - void UpdateClientDecorationHints(ClientFrameViewLinux* view); void UpdateWindowState(ui::PlatformWindowState new_state); raw_ptr native_window_view_; // weak ref