From cdc94e4cefb1a1565557c77c5a3e186b430ad5ec Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 18 Dec 2020 09:51:05 +0900 Subject: [PATCH] chore: remove extra setTitlebarAppearsTransparent (#27042) --- shell/browser/native_window_mac.mm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/shell/browser/native_window_mac.mm b/shell/browser/native_window_mac.mm index 9acd4218a54..1b84070993c 100644 --- a/shell/browser/native_window_mac.mm +++ b/shell/browser/native_window_mac.mm @@ -471,11 +471,6 @@ NativeWindowMac::NativeWindowMac(const gin_helper::Dictionary& options, } } - // Hide the title bar background - if (title_bar_style_ != TitleBarStyle::kNormal) { - [window_ setTitlebarAppearsTransparent:YES]; - } - // Hide the title bar. if (title_bar_style_ == TitleBarStyle::kHiddenInset) { base::scoped_nsobject toolbar(